|
13 years ago 14 |
The Root Filesystem
/ : Root directory
/bin : Essential user command binaries (for use by all users)
/boot : Static files of the bootloader
/dev : Device files
/etc : Host-specific system configuration
/etc/opt : Configuration files for /opt
/etc/X11 : Configuration for the X Window System (optional)
/etc/sgml : Configuration files for SGML (optional)
/etc/xml : Configuration files for XML (optional)
/home : User home directories (optional)
/lib: Essential shared libraries and kernel modules
/lib32 and /lib64 : 32/64-bit libraries (architecture dependent) - alternate format essential shared libraries (optional)
/proc : Kernel and process information virtual filesystem
The /var Hierarchy
/var/account : Process accounting logs (optional)
/var/cache : Application cache data
/var/cache/fonts : Locally-generated fonts (optional)
/var/cache/man: Locally-formatted manual pages (optional)
/var/crash : System crash dumps (optional)
/var/games : Variable game data (optional)
/var/lib : Variable state information
/var/lib/
/var/lib/hwclock : State directory for hardware clock (optional)
/var/lib/misc : Miscellaneous variable data
/var/lock : Lock files
/var/log : Log files and directories
/var/mail : User mailbox files (optional)
/var/opt : Variable data for /opt
/var/run : Run-time variable data
/var/spool : Application spool data
/var/spool/cron : cron and at jobs
/var/spool/lpd : Line-printer daemon print queues (optional)
/var/spool/rwho : Rwhod files (optional)
/var/tmp : Temporary files preserved between system reboots
/var/yp : Network Information Service (NIS) database files (optional)
Download the PDF for a detailed presentation... The link is at the end ;)
This is not Linux Filesystem “Explained”, but only Linux Filesystem “Explained”…
This 'tutorial' could do with an introduction explaining the idea behind a filesystem, the necessity of a mount cmd, and a very brief intro to filesystem types.
This article tells the reader what the various directories are used for, but does not a) say what a filesystem is, b) say how to use one, c) give any hint as to which ones are updated when a user does something like add a pkg, d) say which directories users will most often be modifying.
For example under linux mint, how much use is made of the /opt directory?