Filesystem/zh-cn

文件系统意思是通过提供程序来储存、检索及更新数据来组织程序预期终止后要保留的数据，以及管理设备所包含的剩余空间.

Linux has a few dozen filesystems available, each with their own advantages and disadvantages when considering a particular use case.

通用信息

 * 访问控制列表指南
 * 文件系统安全

磁盘文件系统

 * bcachefs - A next generation, robust, high performance filesystem supporting CoW (Copy-on-write), compression, and encryption.
 * eCryptfs - The enterprise cryptographic filesystem for Linux.
 * ext4 - The default, GPL licensed journaling filesystem for many Linux distributions.
 * FAT - The File Allocation Table (FAT) filesystem. Originally created for use with Microsoft Windows.
 * JFS - A GPL licensed, 64-bit Journaled File System (JFS) developed by IBM.
 * Btrfs - A copy-on-write B-tree file system (Btrfs) with advanced features (an entirely open source licensed ZFS alternative).
 * NTFS - Microsoft Windows' New Technology File System (NTFS) (Windows' default filesystem).
 * Aufs - Advanced multi-layered unification file system (Aufs), formerally known as Another union file system.
 * OverlayFS - The only union-like filesystem built-in to the Linux kernel.
 * ReiserFS - Version 3 of the ReiserFS filesystem.
 * Reiser4 - Version 4 of ReiserFS filesystem. Currently not implemented in the mainline Linux kernel.
 * SquashFS - A compressed, read-only file system for Linux
 * UDF - Universal Disk Format - needed for mounting some kind of .iso files
 * UFS/UFS2 - The Unix File System (UFS) also called the Berkeley Fast File System.
 * XFS - A GPL licensed, 64-bit journaling filesystem created by Silicon Graphics.
 * ZFS - A CDDL (non-GPL compatible) licensed, copy-on-write filesystem created by Sun Microsystems.
 * F2FS - A Flash-Friendly File System (F2FS) created by Samsung for the Linux kernel.

虚拟文件系统

 * debugfs - Used for debugging purposes; primarily Linux kernel development.
 * procfs - Used to output and change of system and process information.
 * securityfs - Used by the TPM bios character driver and IMA, an integrity provider.
 * sysfs - Used to output information about and to configure devices and drivers.
 * tmpfs - Used to store files in memory (RAM).
 * devtmpfs - requires devtmpfs (Maintain a devtmpfs filesystem to mount at ) in the kernel.

网络文件系统

 * Ceph - A distributed object store and filesystem designed to provide excellent performance, reliability, and scalability.
 * NFS - A common Linux network file system protocol.
 * SSHFS - Implements FUSE to mount filesystems in user space.
 * Tahoe-LAFS - A Least Authority File Store (LAFS).

基于FUSE的文件系统

 * CurlFtpFS - File system for accessing ftp hosts based on FUSE.
 * exFAT - A FUSE filesystem for the extended FAT filesystem.
 * FuseISO - FUSE module to mount ISO filesystem images.
 * MTPfs - A FUSE filesystem providing access to Media Transfer Protocol (MTP) devices.
 * smbnetfs - A FUSE filesystem for SMB shares.
 * squashfuse - Mount SquashFS archives using FUSE.

Mounting
文件系统可以用多种方式挂载：


 * ——用于手动挂载文件系统的命令. 需要管理员权限或条目在中.
 * fstab——包含系统可挂载的文件系统的描述性信息.
 * Removable media - 按需挂载.
 * Udevil - 一个只有很小依赖的小型自动挂载工具.
 * AutoFS - 在文件访问时自动挂载.

参见

 * bcache - A Linux kernel block layer cache.
 * FUSE - File system in User Space (FUSE).

External resources

 * Linux Sea, by Sven Vermeulen, chapter about filesystems
 * https://wiki.archlinux.org/index.php/File_systems