Skip to content

Commit 7f029e0

Browse files
committed
Add the "Gentoo: Filesystem" page.
1 parent db37bd0 commit 7f029e0

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

content/notes/Gentoo_Filesystem.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
+++
2+
title = "Gentoo: Filesystem"
3+
+++
4+
5+
Gentoo adheres to the following filesystem layout:
6+
7+
- `/bin`: Boot-critical applications
8+
- `/etc`: System administrator controlled configuration files
9+
- `/lib`: Boot-critical libraries
10+
- `/opt`: Non-standard layout applications
11+
- `/sbin`: System administrator boot-critical applications
12+
- `/tmp`: Temporary data
13+
- `/usr`: General applications
14+
- `/usr/bin`: Applications
15+
- `/usr/lib`: Libraries
16+
- `/usr/local`: Non-Portage applications. Ebuilds must not install here.
17+
- `/usr/sbin`: Non-system-critical system administrator applications
18+
- `/usr/share`: Architecture independent application data and documentation
19+
- `/var`: Program generated data
20+
- `/var/cache`: Long term data which can be regenerated
21+
- `/var/lib`: General application generated data
22+
- `/var/log`: Log files
23+
24+
On most Gentoo systems, though, some of those paths will be symlinks. For example,
25+
26+
- `/bin -> usr/bin`
27+
- `/lib -> usr/lib`
28+
- `/sbin -> usr/bin`
29+
- `/usr/sbin -> bin`
30+
31+
## References
32+
33+
- [Gentoo Development Guide: Filesystem](https://devmanual.gentoo.org/general-concepts/filesystem/index.html)

0 commit comments

Comments
 (0)