Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit 02cb6fd

Browse files
committed
[Linux] Add Linux file system layout section
1 parent cafbfd7 commit 02cb6fd

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

assets/img/linux-fs-layout.png

13.1 KB
Loading

src/linux/filesys.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,23 @@ of each input line:
6464
+--------+--------------+
6565
| ``b`` | Block device |
6666
+--------+--------------+
67+
68+
Linux file system layout
69+
========================
70+
71+
For convenience, the Linux file system is usually thought of in a tree
72+
structure.
73+
74+
.. figure:: /../assets/img/linux-fs-layout.png
75+
:align: center
76+
77+
RedHat system layout
78+
79+
The tree of the file system starts at the trunk or *slash*, indicated by
80+
a forward slash (``/``). This directory, containing all underlying directories
81+
and files, is also called the *root directory* or the **root* of the file
82+
system.
83+
84+
Directories that are only one level below the root directory are often preceded
85+
by a slash, to indicate their position and prevent confusion with other
86+
directories that could have the same name.

0 commit comments

Comments
 (0)