PrajnaEdge
A curiosphere for curious minds who want to understand, experiment with, and experience technology.

Technology is a system of connections.

Modern technology is built from layers that continuously interact with one another. At the physical level, electronic devices transform electrical signals into digital information. Digital logic turns that information into computation, while processors, memory and communication interfaces provide the machinery needed to execute instructions and move data. As these components become part of embedded systems, they begin to interact with the physical world through sensors, controllers, actuators and real-time software.

But computation does not exist in isolation. Operating systems coordinate hardware and software, firmware gives specialized machines their behaviour, and communication protocols allow independent systems to exchange information. At the same time, machine learning is moving beyond the cloud into edge and on-device systems, where models must operate within real constraints such as memory, processing power, latency and energy consumption.

PrajnaEdge explores these connections as one continuous technology landscape — and takes them beyond explanation. From computing foundations and embedded systems to intelligent machines and edge AI, ideas can be understood, experimented with, and eventually turned into technology that can be experienced in the real world.

To continue exploring
Products

Technology, made tangible.

PrajnaEdge products and technology experiences are currently in development.
In Development

Playground

Experiment with intelligence beyond the cloud.

AI runs closer to where data is generated — reducing dependence on distant cloud infrastructure and enabling faster, more responsive systems.
Edge AI Computer Vision

Image Classification

Can this image classifier maintain its intelligence while becoming small enough for the edge?

On-Device AI Coming later

On-Device Intelligence

AI runs directly on the device where data is generated, bringing intelligence into the device itself while operating within its compute, memory, power and latency constraints.

Edge AI Playground

Image Classification

Can this image classifier maintain its intelligence while becoming small enough for the edge?

Choose an image

Upload an image
Supports JPG, JPEG, PNG
This classifier recognizes only Apple, Banana, and Orange. Other objects may be incorrectly classified as one of these classes.

Choose the model

Model size
4.91 MiB
Largest activation
~625 KiB
Test accuracy
99.11%
Measured model accuracy
Your image is processed locally in your browser.
Playground · Future Area

On-Device AI

AI runs directly on the device where data is generated, bringing intelligence into the device itself while operating within its compute, memory, power and latency constraints.

Coming later

Explore the ideas, systems and connections that shape technology — choose any node to begin your journey.

PrajnaEdge Navigation Tree
Embedded Systems Tree

Edge AI Demonstrations

Deploying neural networks and intelligent decision loops on raw silicon targets.

Sort:
Operating Systems

How Does the Filesystem Keep Track?

Demystifying persistent directories, metadata bookkeeping, and physical block allocation.

Operating SystemsFile ManagementFilesystemAllocationMetadata

1. Start from the Problem

When an application creates a new file, the operating system must perform a lot of bookkeeping. Suppose your program requests:

notes.txt

To manage this file, the operating system cannot simply store a list of active filenames. It must be prepared to answer critical operational questions at any time:

* What does this file represent? Is it a regular file, a directory, a symbolic link, or a character device? * How large is it? Where does the file end, and how many bytes are in use? * Who owns it and who can access it? What are the read, write, and execute permissions? * When was it changed? When was the file created, modified, or last opened? * Where is its data? Which physical block sectors on the storage media hold the file's content? * Which blocks are free? Where can the filesystem allocate space when the file expands? * How does it survive a power loss? What happens to the metadata if the machine suddenly shuts down mid-write?

To resolve these questions, the operating system relies on persistent filesystem structures written directly onto the storage device.

2. The Conceptual Filesystem Structures

To organize this information, modern filesystems split their responsibilities among four major conceptual layers:

Conceptual Filesystem Architecture FILESYSTEM INDEX Directory Entries Maps names to internal IDs File Metadata Records Stores size, permissions, properties Free-Space Tracking Tracks available sectors Physical Data Blocks

Directory Entries The namespace is the human-facing interface of the filesystem. The directory structure answers: What name refers to which filesystem object?

Directory records are lookups mapping filenames to internal system identifiers:

notes.txt → File Identity #7182 photo.jpg → File Identity #8221

File Metadata Once the filename maps to an internal ID, the operating system accesses the metadata record. It answers: What is this file?

The metadata block contains everything about the file except its name or its raw data: * File size (in bytes or sectors). * Owner and group membership. * Access permissions (Read/Write/Execute constraints). * Timestamps (creation, modification, access). * File type (regular, folder, link, etc.). * Link count (number of directory entry references). * Data location offsets (pointing to where the data blocks are located).

Data Allocation Information To read or write the actual data payload, the OS consults the location map stored in the file's metadata. It answers: Where are the contents of this file stored?

Conceptually:

File #7182 ↓ Block 209 Block 310 Block 311

The exact indexing mechanisms vary, ranging from sequential block indexes to extent maps (which reference a starting block and a run length).

Free-Space Tracking When files grow or new files are created, the filesystem needs to know: Which storage blocks are available for new data?

Conceptually, the filesystem maintains a map of the drive:

[USED] [USED] [FREE] [USED] [FREE] [FREE] [USED]

The OS reads this structure to find free space quickly and update its markers as sectors are assigned.

3. The Key Realization

A filesystem is not just a bucket where you store files.

A filesystem is a collection of metadata and data structures that allow the operating system to find, describe, allocate, modify, and delete those files.

Without these background structures, the storage drive is merely a flat, raw string of addressable sectors. The filesystem is the translation machinery that converts raw sectors into a structured digital workspace.

4. EdgeCase: The Lifecycle of a File

Use the simulator below to trace how the operating system coordinates directories, metadata tables, space trackers, and storage sectors during the lifecycle of a file:

5. Important Conceptual Distinction

When you click "Delete" in the simulator above, notice that the physical data blocks are not wiped.

When a file is deleted, the operating system typically does not overwrite the physical sectors with zeros immediately. Instead, it: 1. Removes the name mapping from the directory. 2. Releases the metadata record (making its ID available for new files). 3. Marks the data blocks as "free" in the space tracker.

The old data remains physically readable on the drive sectors until it is overwritten by a subsequent write operation.

6. Real Operating-System Connection

While the concepts remain uniform, different operating systems organize their directories and metadata structures in unique ways:

Unix / Linux (ext4, XFS) Linux filesystems separate names from properties using index nodes (inodes). Directory entry records map name strings directly to inode numbers. Each inode stands as a self-contained record pointing to the file metadata and data block pointers.

Windows (NTFS) NTFS stores all file data and properties in a database called the Master File Table (MFT). MFT records contain the attributes of a file, such as its name, security permissions, and either the data itself (for very small files) or references to external data clusters.

macOS (APFS) APFS uses a b-tree object map, dynamically scaling metadata nodes to manage file snapshots, space sharing, and quick lookups without hardcoded layout layouts.

Regardless of the on-disk implementation details, every operating system must provide matching mechanisms for directory names, metadata properties, data tracking, and free-space bookkeeping.

7. The Next Question

We now understand how the filesystem keeps track of files.

But what actually happens underneath the filesystem when it asks the storage device to read or write those blocks?

System Tree Node Operating Systems

PrajnaEdge

Engineering concepts you don't just read — you experience.
Founded in 2026.

PrajnaEdge is a technology company exploring the space between understanding technology, experimenting with ideas, and turning them into things that can be experienced.

Our Mission

To make technology easier to explore, deeper to understand, and more exciting to experience.

Our Vision

To build a technology ecosystem where curiosity, experimentation and creation continuously lead to one another.

Where it began

Embedded Systems

PrajnaEdge began with Embedded Systems — exploring the foundations that connect hardware, software and intelligent computation.

The first technology universe is built around that foundation. The journey will expand as new ideas, experiments and products emerge.

PrajnaEdge is a technology company created by Devaharsha Meesarapu.

CREATOR PROFILE

Devaharsha Meesarapu

Embedded Systems • Firmware • Edge AI

I am the engineer behind the design, development, and content of PrajnaEdge. I build low-level systems where code directly controls hardware, bridging the gap between register-level silicon behavior and intelligent edge decision loops.

View Resume →

ABOUT ME

I am an Embedded Firmware Engineer focused on developing software for resource-constrained systems. My experience spans bare-metal firmware, device drivers, microcontroller peripherals, and communication protocols, working across the boundary between hardware and software.

My work has involved microcontroller-based systems, real-time behaviour, hardware interfaces, and communication technologies such as CAN, CAN FD, UART, SPI, and I²C. I am particularly interested in understanding systems from the lowest level upward—from registers and peripherals to intelligent edge systems.

ENGINEERING PHILOSOPHY

Engineering is not just about writing code; it is about managing constraints, timings, and physical hardware characteristics. True mastery of complex systems comes from understanding the interactions across different layers of the stack.

This conviction is why I built PrajnaEdge—to bridge the gap between conceptual theory and direct, register-level physical reality.

CONNECT

LinkedIn → GitHub →

Interactive Career Journey

BTech · ECE

Foundations

Where it all began — understanding the physical layer of computation. Circuits, signals, and systems gave me a mental model of how information moves through hardware.

⬡
Connects to Systems
Understanding circuits directly enables writing firmware that talks to peripherals at the register level.
What it is
BTech in Electronics and Communication
Undergraduate foundation covering analog & digital circuits, signal processing, microprocessors, and communication systems.
CircuitsSignal ProcessingMicroprocessorsVLSI
What I did
Core Engineering Fundamentals
Studied semiconductor physics, digital logic design, and embedded microcontrollers. Built prototypes using 8-bit MCUs.
8051Logic DesignPCB Basics
What I learned
The Hardware Mental Model
Every software abstraction sits on physical reality. Understanding silicon teaches you why timing, power, and noise are first-class engineering problems.
Let's Connect
Interested in embedded systems, AI, or building something meaningful? I'd love to hear from you.
Open to collaborations, research, and interesting engineering conversations.
Help Improve PrajnaEdge
Found something to improve? I'd love to hear your thoughts.

Bare Metal

Software that runs directly on hardware without an operating system.

Applications
↑
Operating Systems
YOU ARE HERE
Bare Metal
Processor
↑
Hardware

"Every embedded application begins long before main()."

Operating Systems

An Operating System manages hardware and software resources so complex applications can work efficiently.

Applications
↑
YOU ARE HERE
Operating Systems
Bare Metal
↑
Processor
↑
Hardware

"When one loop is no longer enough to carry the burden."

← Return to Systems Tree
Select Domain
Explore application domains branching from the Systems Tree
Automotive
Aerospace & Defence
Consumer
Embedded AI
Industrial
Medical
Multimedia
Network & Connectivity
Robotics
Explore Active Systems Tree →
← Return to Systems Tree
Select Depth
Examine computation through architectural depth layers
Architecture
Controller
Digital
Programming
Processor
Explore Processors → Explore Controllers →

Support PrajnaEdge

PrajnaEdge is an independent education platform built to make knowledge freely accessible.

If you find PrajnaEdge useful, you can support its continued development.

Your support helps fund the time, tools, infrastructure, and experimentation that go into building and maintaining PrajnaEdge.

Select Region
Select Amount
Select an amount to support PrajnaEdge.