Linux 文件系统目录描述
Directory or file | Description |
| The slash |
| Stands for binaries and contains certain fundamental utilities, such as |
Contains all the files needed for successful booting process. In Research Unix, this was one file rather than a directory.[14] Nowadays usually on the root filesystem itself, unless the system, bootloader etc. require otherwise. | |
Stands for devices. Contains file representations of peripheral devices and pseudo-devices. See also: Linux Assigned Names and Numbers Authority. Needs to be on the root filesystem itself. | |
| |
| |
| Originally essential libraries: C libraries, but not Fortran ones.[14] On modern systems, it contains the shared libraries needed by programs in |
| Default mount point for removable devices, such as USB sticks, media players, etc. By common sense, the directory itself, whose subdirectories are mountpoints, is on the root partition itself. |
| Stands for mount. Empty directory commonly used by system administrators as a temporary mount point. By common sense, the directory itself, whose subdirectories are mountpoints, is on the root partition itself. |
| Contains locally installed software. Originated in System V, which has a package manager that installs software to this directory (one subdirectory per package).[16] |
| procfs virtual filesystem showing information about processes as files. |
| The home directory for the superuser root - that is, the system administrator. This account's home directory is usually on the initial filesystem, and hence not in /home (which may be a mount point for another filesystem) in case specific maintenance needs to be performed, during which other filesystems are not available. Such a case could occur, for example, if a hard disk drive suffers physical failures and cannot be properly mounted. By convention, this directory is on the root partition itself; in any case, it is not a link to |
| Stands for "system (or superuser) binaries" and contains fundamental utilities, such as |
| Server data (data for services provided by system). |
| In some Linux distributions, contains a sysfs virtual filesystem, containing information related to hardware and the operating system. On BSD systems, commonly a symlink to the kernel sources in |
| A place for temporary files not expected to survive a reboot. Many systems clear this directory upon startup or use tmpfs to implement it. |
| The Unix kernel in Research Unix and System V.[14] With the addition of virtual memory support to 3BSD, this got renamed |
| The "user file system": originally the directory holding user home directories,[15] but already by the Third Edition of Research Unix, ca. 1973, reused to split the operating system's programs over two disks (one of them a 256K fixed-head drive) so that basic commands would either appear in |
| Stores the development headers used throughout the system. Header files are mostly used by the |
| Stores the needed libraries and data files for programs stored within |
| Holds programs meant to be executed by other programs rather than by users directly. E.g., the Sendmail executable may be found in this directory.[18] Not present in the FHS until 2011;[19] Linux distributions have traditionally moved the contents of this directory into |
| Resembles |
| Architecture-independent program data. On Linux and modern BSD derivatives, this directory has subdirectories such as |
| Stands for variable. A place for files that might change frequently - especially in size, for example e-mail sent to users on the system, or process-ID lock files. |
| Contains system log files. |
| The place where all incoming mail is stored. Users (other than |
| Spool directory. Contains print jobs, mail spools and other queued tasks. |
| The place where the uncompiled source code of some programs is. |
| The |
最后更新于