Editing Directory Structure
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 14: | Line 14: | ||
At the first step we have to copy the Directory Structure from [https://www.freebsd.org/doc/handbook/dirstructure.html FreeBSD Handbook chapter: 3.5. Directory Structure] in the following table. | At the first step we have to copy the Directory Structure from [https://www.freebsd.org/doc/handbook/dirstructure.html FreeBSD Handbook chapter: 3.5. Directory Structure] in the following table. | ||
− | We use [https://www.freebsd.org/cgi/man.cgi?query=hier&sektion=7&manpath=freebsd-release-ports hier(7)] | + | We use also [https://www.freebsd.org/cgi/man.cgi?query=hier&sektion=7&manpath=freebsd-release-ports hier(7)]. We also compare this structure with the installed on GhostBSD. From here we will get deeper. |
− | + | ||
{|class="wikitable" style="width:96.5%;background:#FFFFFF; border:2px solid #008000;text-align:left;padding: 10px" | {|class="wikitable" style="width:96.5%;background:#FFFFFF; border:2px solid #008000;text-align:left;padding: 10px" | ||
Line 25: | Line 24: | ||
|Root directory of the file system. | |Root directory of the file system. | ||
|- | |- | ||
− | | | + | |/bin/ |
− | |User utilities fundamental to both single-user and multi-user environments | + | |User utilities fundamental to both single-user and multi-user environments. |
|- | |- | ||
|[[/boot/]] | |[[/boot/]] | ||
|Programs and configuration files used during operating system bootstrap. | |Programs and configuration files used during operating system bootstrap. | ||
+ | |- | ||
+ | | /boot/defaults/ | ||
+ | |Default boot configuration files. Refer to [https://www.freebsd.org/cgi/man.cgi?query=loader.conf&sektion=5&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports loader.conf(5)] for details. | ||
|- | |- | ||
|/cdrom/ | |/cdrom/ | ||
Line 58: | Line 60: | ||
|critical system utilities needed for binaries in /bin and <code>/sbin</code> | |critical system utilities needed for binaries in /bin and <code>/sbin</code> | ||
|- | |- | ||
− | | | + | |man/ |
|new on GhostBSD without content | |new on GhostBSD without content | ||
|- | |- | ||
Line 80: | Line 82: | ||
|Home directory for the root account. | |Home directory for the root account. | ||
|- | |- | ||
− | | | + | |/sbin/ |
|System programs and administration utilities fundamental to both single-user and multi-user environments. | |System programs and administration utilities fundamental to both single-user and multi-user environments. | ||
|- | |- | ||
Line 95: | Line 97: | ||
|The majority of user utilities and applications. | |The majority of user utilities and applications. | ||
|- | |- | ||
− | | | + | |/usr/bin/ |
− | | | + | |Common utilities, programming tools, and applications. |
|- | |- | ||
− | |/ | + | |/usr/include/ |
− | | | + | |Standard C include files. |
|- | |- | ||
− | | | + | |/usr/lib/ |
− | + | |Archive libraries. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
− | + | |/usr/libdata/ | |
− | + | |Miscellaneous utility data files. | |
|- | |- | ||
− | | | + | |/usr/libexec/ |
+ | |System daemons and system utilities executed by other programs. | ||
|- | |- | ||
− | | | + | |/usr/local/ |
+ | |Local executables and libraries. Also used as the default destination for the FreeBSD ports framework. Within <code>/usr/local</code>, the general layout sketched out by [https://www.freebsd.org/cgi/man.cgi?query=hier&sektion=7&manpath=freebsd-release-ports hier(7)] for <code>/usr</code> should be used. Exceptions are the man directory, which is directly under <code>/usr/local</code> rather than under <code>/usr/local/share</code>, and the ports documentation is in share/doc/port. | ||
|- | |- | ||
− | | | + | |/usr/obj/ |
+ | |Architecture-specific target tree produced by building the <code>/usr/src</code> tree. | ||
|- | |- | ||
− | | | + | |/usr/ports/ |
− | + | |The FreeBSD Ports Collection (optional). | |
|- | |- | ||
− | | | + | |/usr/sbin/ |
− | + | |System daemons and system utilities executed by users. | |
|- | |- | ||
− | | | + | |/usr/share/ |
+ | |Architecture-independent files. | ||
|- | |- | ||
− | | | + | |/usr/src/ |
− | + | |BSD and/or local source files. | |
|- | |- | ||
− | | | + | |[[/var/]] |
+ | |Multi-purpose log, temporary, transient, and spool files. A memory-based file system is sometimes mounted at <code>/var</code>. This can be automated using the varmfs-related variables in [https://www.freebsd.org/cgi/man.cgi?query=rc.conf&sektion=5&manpath=freebsd-release-ports rc.conf(5)] or with an entry in <code>/etc/fstab</code>; refer to [https://www.freebsd.org/cgi/man.cgi?query=mdmfs&sektion=8&manpath=freebsd-release-ports mdmfs(8)] for details. | ||
|- | |- | ||
− | | | + | |/var/log/ |
+ | |Miscellaneous system log files. | ||
|- | |- | ||
− | | | + | |/var/mail/ |
+ | |User mailbox files. | ||
|- | |- | ||
− | | | + | |/var/spool/ |
+ | |Miscellaneous printer and mail system spooling directories. | ||
+ | |- | ||
+ | |/var/tmp/ | ||
+ | |Temporary files which are usually preserved across a system reboot, unless <code>/var</code> is a memory-based file system. | ||
+ | |- | ||
+ | |/var/yp/ | ||
+ | |NIS maps. | ||
+ | |- | ||
+ | |/www/ | ||
+ | |new on GhostBSD without content | ||
+ | |- | ||
+ | |file: /COPYRIGHT | ||
+ | |opyright (c) 1992-2019 The FreeBSD Project. | ||
+ | |||
|} | |} | ||
[[Category:Central Station Sysutils]] | [[Category:Central Station Sysutils]] |