A file system is a structure used by an operating system to organise and manage files on a storage device such as a hard drive, solid state drive (SSD), or USB flash drive. It defines how data is stored, accessed, and organised on the storage device. Different file systems have varying characteristics and are often specific to certain operating systems or devices. Here are some of the common file systems and their pros and cons.
FAT (File Allocation Table), FAT16, FAT32
FAT is one of the oldest and simplest file systems. It was initially developed for MS-DOS and is still used in many removable storage devices. The two major versions of this system are FAT16 and FAT32. FAT uses a file allocation table to keep track of file locations on the disk. However, it lacks some advanced features like file permissions and journaling, making it less suitable for modern operating systems. FAT 16 was introduces in 1987 with DOS 3.31 while FAT32 was introduced with Windows 95 OSR2(MS-DOS 7.1) in 1996.
Advantages:
- Simplicity: This simplicity makes it easy to implement and use, making it suitable for devices with limited resources or compatibility requirements.
- Data recovery: Due to its simple structure, FAT file systems are relatively easy to recover in case of data corruption or accidental deletion.
- Compatibility: It can natively be read from and written to by Windows, MacOS and Linux operating systems without the need for third-party software.
Disadvantages:
- Fragmentation: Fragmentation occurs when file data is scattered across different parts of the disk, resulting in reduced performance. Regular defragmentation is required to optimise disk performance.
- Lack of advanced features: The newest version, FAT32, lacks several advanced features found in other file systems. It does not support file-level security permissions, journaling, encryption, or compression.
- Volume name limitations: The volume names for FAT16 and FAT32 cannot exceed 11 characters and cannot include most non-alphanumeric characters.
- File name limitations: Files on a FAT16 file system cannot exceed 8.3 character for their files names. This means 8 characters plus a 3 character file extension.