Definitions

How computers for agents work, from the hardware to the sandbox.

Definitionsf

File system

A file system is the layer that organizes the blocks of a disk into files and directories.

A file system is the part of an operating system that gives the blocks of a disk names and structure. It tracks where the data of each file lives, along with metadata such as its owner and permissions. This bookkeeping lives on the disk itself, in structures such as inodes that point to the blocks of each file. Directories are files too, and they map names to those structures.

Programs work with paths and files instead of block numbers, and the file system turns each read or write into operations on the disk. It also keeps the disk consistent when a machine loses power in the middle of a write. Most modern file systems do this with a journal, a log where each change is written before it is applied. After a crash, they replay or discard the unfinished entries instead of scanning the whole disk.

Each file system trades speed against safety in its own way. Linux servers mostly use ext4 or XFS, while macOS uses APFS and Windows uses NTFS. Some, such as Btrfs and ZFS, add checksums that catch data the drive has silently corrupted. Those extras cost memory and processor time. Code in a sandbox sees an ordinary file system, whether its files sit on a local disk, a network volume or image layers.