Chapter 11. Creating and Managing Filesystems
Linux supports a lot of filesystems, more than any other operating system. Filesystems are essential to computing and do an astounding amount of work. A computer filesystem stores, organizes, and protects our data, and is under continual stress from being constantly in use. As Linux users we are fortunate to have many first-rate filesystems to choose from.
In this chapter you will learn about the command-line tools for creating and managing the following general-purpose filesystems, which are fully supported on Linux and well maintained:
-
Ext4, the Extended Filesystem
-
XFS, the X File System; the X stands only for X
-
Btrfs, the b-tree filesystem, pronounced Butter FS
-
FAT16/32, File Allocation Table 16- and 32-bit
-
exFAT, Extended FAT, Microsoft’s newest 64-bit filesytem
Not included in this chapter are Microsoft’s NTFS or Apple’s HFS/HFS+/APFS. Linux has good support for Microsoft’s NTFS, both read and write. To try it, look for ntfs-3g (NTFS third generation) packages.
Support for Apple’s HFS/HFS+/APFS is unreliable. To give it a test drive, look for packages with hfs or apfs in the names, and make sure the description specifies they are for Apple filesystems.
There are many special-purpose filesystems, such as UBIFS and JFFS2 for CompactFlash devices; the compressed filesystem SquashFS, HDFS, CephFS, and GlusterFS for distributed computing; NFS for network file sharing; and many more. These could easily fill a large book ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access