com
http://www.linoob.com/2012/03/linoobs-guide-to-ubuntu-filesystem-stru...
ABOUT
FORUM
CONTACT US
Search|Grep
Subscribe
Email Address:
Find us on Facebook
Freesiete
Armando
Linux
Linux
Categories
Applications Accessories Internet
/
This is the root folder, all other folders come under root.. think of it as C: in a Windows context. The contents of the root filesystem must be adequate to boot, restore, recover, and/or repair the system.
/bin
This folder contains all the user-essential binaries (programs) that are needed to administer and run your linux system, delete this folder and your system is broken. It contains commands that may be used by both the system administrator and by users, but which are required when no other filesystems are mounted.
/boot
This folder contains configuration files and other necessary files that are needed by the bootloader. Thus /boot stores data that is used before the kernel begins executing user-mode programs. This may include saved master boot sectors and sector map files.
1 of 4
10/03/12 2:23 PM
http://www.linoob.com/2012/03/linoobs-guide-to-ubuntu-filesystem-stru...
/dev
This folder contains special or device files. Be careful while working with it. Look through this directory and you should hopefully see hda1, hda2 etc. which represent the various partitions on the master drive of the system. It is a very interesting directory that highlights one important aspect of the Linux filesystem everything is a file or a directory.
Install News Operating System PPA Review System Administration Preferences Tips and Tricks
/etc
This folder contains all the configuration files used by the system, you can also start and stop services from here. It contains the following : opt Configuration for /opt X11- Configuration for the X Window system (optional) sgml- Configuration for SGML (optional) xml- Configuration for XML (optional)
Tags
Canonical
download
Eyecandy
FOSS
/home
This folder contains the home folders of all the normal (non root ) users on the system .. think of it as my documents in windows. It is clearly a site-specific filesystem & setup will differ from host to host.
/lib
This folder contains essential shared libraries and kernel modules. This directory contains those shared library images needed to boot the system and run the commands in the root filesystem, ie. by binaries in /bin and /sbin.
/media
This is a mount point for removable media. This directory contains subdirectories which are used as mount points for removeable media such as floppy disks, CDroms, thumb drives etc.
opensource open
source Operating System oracle
/mnt
This is a mount point for a temporarily mounted file-systems. This directory is provided so that the system administrator may temporarily mount a filesystem as needed. The content of this directory is a local issue and should not affect the manner in which any program is run.
10.04
/lost+found
Sometimes your system might crash or a power failure might take the machine down. Either way, at the next boot, a lengthy filesystem check will be done. Fsck will go through the system and try to recover any corrupt files that it finds. The result of this recovery operation will be placed in this directory.
Ubuntu 10.10
Ubuntu 10.10 Maverick Meerkat ubuntu
/opt
This folder contains add on softwares. A package to be installed in /opt must locate its static files in a separate /opt/<package> or /opt/<provider> directory tree, where <package> is a name that describes the software package and <provider> is the providers registered name.
/sbin
This folder contains binaries that can only be run as the root user (superuser).
Video windows
/tmp
This folder contains temporary files that are created while browsing, video buffering, system updates etc. and all the data is erased on reboot.
Blogroll
aBHi 247 FOSS Powered
/usr
This folder and its subfolders contains user installed programs, utilities and libraries. Utilities used for system administration (and other root-only commands) are stored in /sbin, /usr/sbin, and /usr/local/sbin. /sbin contains binaries essential for booting, restoring, recovering, and/or repairing the system in addition to the binaries in /bin.
/var
The /var contains data that is changed when the system is running normally. It is specific for each system, i.e.,
2 of 4
10/03/12 2:23 PM
http://www.linoob.com/2012/03/linoobs-guide-to-ubuntu-filesystem-stru...
/run
This directory contains all the run time data a system administrator need while working. Everything is in one place making it easy for control purposes.
/root
This folder contians the root users files. The root accounts home directory may be determined by developer or local preference, but this is the recommended default location.
/proc
This is a psuedo folder, that contains information about the linux kernel and hardware that is updated in realtime.
/srv
It contains data for services provided by this system. /srv contains site-specific data which is served by this system. Now, things are clear in front of you what different directories are there and what are their functions. All these collectively make the Ubuntu (Linux) Filesystem. We can actually mount a seperate hard drive for each of these directories. For example, your /home can be put on another hard-drive than your / which means that you can easily recover your personal files if the harddrive on / fails because the harddrive mounted to your /home folder is seperate from the one that is mounted to your /. Simlarly /boot can also be made a separate paritition. It helps in easy management of bootloaders in dual-boot scenarios. [Image Courtesy - Linuxconfig.org] Njoy !
No Comments
Tags: Directory Structure, Filesystem, Filesystem Hierarchy Standard, FOSS, linux, Linux Filesystem, opensource, ubuntu, Ubuntu Filesystem
Like
Login
Showing 0 comments
M Subscribe by email S RSS
Trackback URL
3 of 4
10/03/12 2:23 PM
http://www.linoob.com/2012/03/linoobs-guide-to-ubuntu-filesystem-stru...
4 of 4
10/03/12 2:23 PM