Linux Filesystem Hierarchy Standard
EN
The Root Filesystem
The contents of the root filesystem must be adequate to boot, restore, recover, and/or repair the system.
To boot a system, enough software and data must be present on the root partition to mount other filesystems. This includes utilities, configuration, boot loader information, and other essential start-up data. /usr, /opt, and /var are designed such that they may be located on other partitions or filesystems.
To enable recovery and/or repair of a system, those utilities needed by an experienced maintainer to diagnose and reconstruct a damaged system must be present on the root filesystem.
To restore a system, those utilities needed to restore from system backups (on floppy, tape, etc.) must be present on the root filesystem.
- /bin : Essential user command binaries (for use by all users)
- /boot : Static files of the boot loader
- /dev : Device files
- /etc : Host-specific system configuration
- /home : User home directories (optional)
- /lib : Essential shared libraries and kernel modules
- /lib : Alternate format essential shared libraries (optional)
- /media : Mount point for removable media
- /mnt : Mount point for a temporarily mounted filesystem
- /root : Home directory for the root user (optional)
- /run : Run-time variable data
- /sbin : System binaries
- /srv : Data for services provided by this system
- /tmp : Temporary files