File Systems Overview
File Systems Overview
By R. Mwaura
Windows File Systems
• Main File Systems:
– FAT32: Commonly used for compatibility but limited to 4GB per file.
– NTFS (New Technology File System): Main file system for Windows,
supports larger file sizes, encryption, and journaling.
– exFAT: Extended FAT, optimized for flash drives with no file size limits
like FAT32.
•
Features:
– Journaling: NTFS logs changes, helping to recover data after a crash.
– Permissions: NTFS allows setting user permissions, enhancing security.
– File Compression and Encryption: NTFS supports these features natively.
– Reparse Points: Allows linking files to different directories, similar to
shortcuts.
UNIX File Systems
• Main File Systems:
– UFS (UNIX File System): Common in UNIX systems, robust and simple.
– ZFS: Advanced file system supporting high storage capacities, data integrity,
and snapshots.
– EXT2/EXT3: Early file systems in UNIX-based systems, now largely replaced by
EXT4 and ZFS.
•
Features:
– Hierarchical File System: Files organized in a tree structure with root as the
top-level directory.
– Permissions: User, group, and others can be assigned read, write, and execute
permissions.
– Symbolic and Hard Links: UNIX allows files to point to the same or different
locations.
– Data Integrity: ZFS includes built-in error checking and repair mechanisms.
Linux File Systems
• Main File Systems:
– EXT4: Default for many Linux distributions, robust with large file support.
– Btrfs: Designed for high storage, supports snapshots and multi-device
spanning.
– XFS: High-performance file system suited for large files and multi-threaded
operations.
•
Features:
– Journaling: EXT4, XFS, and Btrfs support journaling for data consistency.
– Snapshots: Btrfs and ZFS allow creating snapshots, useful for backups and
data recovery.
– File Permissions: Similar to UNIX with permissions for user, group, and others.
– Inodes: Each file is associated with an inode, which stores metadata like
permissions, owner, and size.
macOS File Systems
• Main File Systems:
– HFS+ (Hierarchical File System Plus): Used before macOS High Sierra;
supports journaling and file permissions.
– APFS (Apple File System): Modern system optimized for SSDs, with
features like cloning and snapshots.
•
Features:
– Journaling: Both HFS+ and APFS support journaling.
– Cloning and Snapshots: APFS allows quick file duplication without extra
storage and captures file states over time.
– Encryption: APFS supports full-disk encryption, enhancing data security.
– Space Sharing: APFS allows multiple volumes to share storage
dynamically.