File Hierarchical
Structure
in Linux
A file system is a
logical collection of files on a partition or disk. A partition is a container
for information and can span an entire hard drive if desired. Your hard drive
can have various partitions which usually contains only one file system, such
as one file system housing the / file system or another containing the /home
file system.
One file system per partition allows for the logical maintenance and management of differing file systems. All of the files in the UNIX file system are organized into a multi-leveled hierarchy called a directory tree. Everything in Unix is considered to be a file, including physical devices such as DVD-ROMs, USB devices, floppy drives, and so forth.
One file system per partition allows for the logical maintenance and management of differing file systems. All of the files in the UNIX file system are organized into a multi-leveled hierarchy called a directory tree. Everything in Unix is considered to be a file, including physical devices such as DVD-ROMs, USB devices, floppy drives, and so forth.
- A family tree is an example of a hierarchical structure that represents how the UNIX file system is organized. The UNIX file system might also be envisioned as an inverted tree or the root system of plant.
- The number of levels is largely arbitrary, although most UNIX systems share some organizational similarities. The "standard" UNIX file system is discussed later.
- At the very top of the file system is single directory called "root" which is represented by a / (slash). All other files are "descendents" of root.
Example:
/ (root)
|
| | |
/bin /usr
/tmp
|
|
|
|
| | |
/public /misc
/staff
/students
| | |
|
| | | |
| |
| | |
/doc /software /shri /maya /babs /sonu /raj
/ram /sunil /kiran
Post a Comment