Definition 1:
- Keep track of File and its Hard Link and its sectors on partition
- FUSE allows for multiple file systems
- examples: ext4, XFS
| ext4 | XFS | btrfs |
---|
| Journaling | | |
| | Larger partition, file size | |
| | Avoids inode exhaustion | |
Definition 2:
File system implementation
- Handled by layers:
- Application program, run python3
open("./text.txt")
”
- Logical file system, open
./text.txt
- file-organization module, read inode 5, offset 0x100, size 512
- basic file system, read block 23
- I/O control, read /dev/sda, block 23
- Physical device, 1 and 0s
- Layering useful for reducing complexity and redundancy, but adds overhead