Most distributions voluntarily choose to follow the FHS and remain in compliance as updates are released, however,some distributions deviate slightly in some ways.
Directory Structure
The primary specification is that all files and directories appear under the 'root' directory (/),even if stored on different physical or virtual devices (although some directories do not have to exist at all if the dependent subsystems do not exist such as X Windows).
/ Root abd root directory of the FHS
/bin Command binaries intended for all users, must be available in single user mode
/boot Boot loaders files (kernel,initrd,etc)
/dev Device files.
/etc Host-specific configuration files, no binaries.
/etc/opt Config files for packages stored in /opt
/etc/sgml Config files for software that processes SGML.
google chrome is a good example for opt directory,because it installs In the opt directory.
Directory Structure
/etc Host-specific configuration files, no binaries
/etc/X11 Config files for X Windows
/etc/xml Config files for software that processes XML
/home User's home directories
/lib Libraries essential for binaries in /bin and /sbin
/lib[qual] Alternate format libraries (i.e 64bit)
/media Mount points for removable media (CD,DVD,etc)
/opt Optional application software (often 3rd party).
/proc Virtual filesystem providing process and kernel information ad files (corresponds to procfs).
that is the sudo file system we spoked about, in this course (that is the procfs).
Directory Structure
/run Run-time variable data, information about the running system since last boot
/sbin Essential system binaries
/srv Site-specific data server by the local system.
/sys Contains information about the devices connected
/tmp Temp files, not preserved between reboots
/usr Secondary hierarchy for read-only user data
/usr/bin Non-essential command binaries for all users
/usr/include Standard include files (C/C++.h files for example)
/usr/lib Libraries for the binaries in /usr/bin and /usr/sbin
/usr/lib[qual] Alternate format libraries (i.e. 64bit)
/usr/local Tertiary hierarchy for local data, specific to host
Directory Structure
/usr Secondary hierarchy for read-only user data
/usr/sbin Non-essential system binaries
/usr/share Architecture independent shared data
/usr/src Source code
/usr/X11R6 Older X Windows configuration (optional)
/var Variables files whose content is expected to change during normal system use and operation.
/var/cache Application cache data used as a result of time consuming I/O or calculations.Can be deleted without loss of data.
/var/lib State information
/var/lock Lock files that keep track of resources in use.
No comments:
Post a Comment