Explore AI that moves inference closer to the data — from the edge to the device itself.
Can this image classifier maintain its intelligence while becoming small enough for the edge?
Can this image classifier maintain its intelligence while becoming small enough for the edge?
Explore the ideas, systems and connections that shape technology — choose any node to begin your journey.
Deploying neural networks and intelligent decision loops on raw silicon targets.
Demystifying persistent directories, metadata bookkeeping, and physical block allocation.
When an application creates a new file, the operating system must perform a lot of bookkeeping. Suppose your program requests:
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.
To organize this information, modern filesystems split their responsibilities among four major conceptual layers:
Directory records are lookups mapping filenames to internal system identifiers:
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).
Conceptually:
The exact indexing mechanisms vary, ranging from sequential block indexes to extent maps (which reference a starting block and a run length).
Conceptually, the filesystem maintains a map of the drive:
The OS reads this structure to find free space quickly and update its markers as sectors are assigned.
A filesystem is not just a bucket where you store 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.
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:
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.
While the concepts remain uniform, different operating systems organize their directories and metadata structures in unique ways:
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.
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?
PrajnaEdge is a technology company exploring the space between understanding technology, experimenting with ideas, and turning them into things that can be experienced.
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.
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.
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 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.
Software that runs directly on hardware without an operating system.
"Every embedded application begins long before main()."
An Operating System manages hardware and software resources so complex applications can work efficiently.
"When one loop is no longer enough to carry the burden."
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.
Product Terms & Licensing
PrajnaEdge is an interactive learning platform designed for systems engineers, developers, and technology enthusiasts. The educational materials, simulation blocks, and visual code tracers are provided for instruction and concept validation. We make no warranty regarding their completeness or applicability to real-world industrial systems.
The software, interactive widgets, diagrams, illustrations, custom SVG architectures, and textual documentation on this site are copyright © 2026 PrajnaEdge. All rights reserved. Reproduction, modifications, or scraping of this content without prior written permission is strictly prohibited.
PrajnaEdge is committed to learning privacy. We do not sell user data. Analytical event tracking is used solely to study click telemetry and help improve visual guides.