Fhs archives - Open Source Software and Linux

Open Source Software and Linux:

fhs

Sep 8 2008   3:37PM GMT

Graphical Linux File Structure representation



Posted by: John Little
Linux, /boot, linux kernel, kernel, /home, file system, /root, /sbin, /bin, Filesystem Hierarchy Standard, fhs

I ran across the following jpeg file on another blog. I thought it a reasonable idea to distribute this as much as possible as it is a very good representation of the Linux file structure.

A couple of things to note about this graphic:
The author did it in caps for readability. None of the files or directories shown are in caps on a Linux system. The ROOT label at the top is to designate that it is representing the root file system. It does not represent the root’s home directory which is /root in the lower right hand corner of the graphic. This probably should have been labeled “ROOT FILESYSTEM”.

For new Linux users reading this you should note that most systems today will by default create three to four partitions for mounting various directories:
/boot holds the kernel and files that the boot loader uses to boot Linux
/ holds the user (/bin)and system (/sbin) binaries as well as other configuration and log files
/home holds the directories of users that have been added to the system
/swap the partition the system uses for swap memory

Here’s the graphic. Enjoy!
-j

Click to enlarge
Linux File System Graphic