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)] and compare this structure with the installed structure of GhostBSD on metal. This [https://www.freebsd.org/cgi/man.cgi?query=hier&sektion=7&manpath=freebsd-release-ports manual page] documents the default FreeBSD file system layout, but the actual hierarchy on a given system is defined at the system administrator's discretion. A well-maintained installation will include a customized version of this document. | + | We use [https://www.freebsd.org/cgi/man.cgi?query=hier&sektion=7&manpath=freebsd-release-ports hier(7)] and compare this structure with the installed structure of GhostBSD on metal. 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 30: |
Line 29: |
| |[[/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 98: |
Line 100: |
| |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. | | |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. |
| |- | | |- |
− | |/www/ | + | |/var/log/ |
− | |new on GhostBSD without content | + | |Miscellaneous system log files. |
| |- | | |- |
− | |file: /COPYRIGHT | + | |/var/mail/ |
− | |opyright (c) 1992-2019 The FreeBSD Project.
| + | |User mailbox files. |
− | | + | |
− | |}
| + | |
− | | + | |
− | ==Usefull Tools==
| + | |
− | This tools are recommended on [https://www.freebsd.org/cgi/man.cgi?query=hier&sektion=7&manpath=freebsd-release-ports hier] man page, the sketch of the file system hierarchy.
| + | |
− | | + | |
− | | + | |
− | {|class="wikitable" style="width:96.5%;background:#FFFFFF; border:2px solid #008000;text-align:left;padding: 10px"
| + | |
| |- | | |- |
− | ! scope="col" style="width: 100px;"|'''Command'''
| + | |/var/spool/ |
− | ! scope="col" style="width: 350px;"|'''Description'''
| + | |Miscellaneous printer and mail system spooling directories. |
| |- | | |- |
− | |apropos(1)||The [https://www.freebsd.org/cgi/man.cgi?query=apropos&sektion=1&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports apropos and whatis] utilities query manual page databases generated by [https://www.freebsd.org/cgi/man.cgi?query=makewhatis&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports makewhatis(8)], evaluating expression for each file in each database. By default, they display the names, section numbers, and description lines of all matching manuals. | + | |/var/tmp/ |
| + | |Temporary files which are usually preserved across a system reboot, unless <code>/var</code> is a memory-based file system. |
| |- | | |- |
− | |find(1)||The [https://www.freebsd.org/cgi/man.cgi?query=find&sektion=1&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports find] utility recursively descends the directory tree for each path listed, evaluating an expression (composed of the "primaries" and "operands" listed below) in terms of each file in the tree. | + | |/var/yp/ |
| + | |NIS maps. |
| |- | | |- |
− | |finger(1)||The [https://www.freebsd.org/cgi/man.cgi?query=finger&sektion=1&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports finger] utility displays information about the system users. | + | |/www/ |
| + | |new on GhostBSD without content |
| |- | | |- |
− | |grep(1)||[https://www.freebsd.org/cgi/man.cgi?query=grep&sektion=1&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports grep] searches the named input FILEs (or standard input if no files are named, or the file name - is given) for lines containing a match to the given PATTERN. By default, grep prints the matching lines. | + | |file: /COPYRIGHT |
| + | |opyright (c) 1992-2019 The FreeBSD Project. |
| | | |
− | |-
| |
− | |ls(1)||[https://www.freebsd.org/cgi/man.cgi?query=ls&sektion=1&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports ls] -- list directory contents; For each operand that names a file of a type other than directory, ls displays its name as well as any requested, associated information. For each operand that names a file of type directory, ls displays the names of files contained within that directory, as well as any requested, associated information.
| |
− |
| |
− | |-
| |
− | |whatis(1)||The [https://www.freebsd.org/cgi/man.cgi?query=whatis&sektion=1&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports apropos and whatis] utilities query manual page databases generated by [https://www.freebsd.org/cgi/man.cgi?query=makewhatis&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports makewhatis(8)], evaluating expression for each file in each database. By default, they display the names, section numbers, and description lines of all matching manuals.
| |
− | |-
| |
− | |whereis(1)||The [https://www.freebsd.org/cgi/man.cgi?query=whereis&sektion=1&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports whereis] utility checks the standard binary, manual page, and source directories for the specified programs, printing out the paths of any it finds. The supplied program names are first stripped of leading path name components, any single trailing extension added by [https://www.freebsd.org/cgi/man.cgi?query=gzip&sektion=1&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports gzip(1)], [https://www.freebsd.org/cgi/man.cgi?query=compress&sektion=1&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports compress(1)], or [https://www.freebsd.org/cgi/man.cgi?query=bzip2&sektion=1&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports bzip2(1)], and the leading `s.' or trailing `,v' from a source code control system.
| |
− |
| |
− | |-
| |
− | |which(1)||The [https://www.freebsd.org/cgi/man.cgi?query=which&sektion=1&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports which] utility takes a list of command names and searches the path for each executable file that would be run had these commands actually been invoked.
| |
− | |-
| |
− | |fd(4)||[https://www.freebsd.org/cgi/man.cgi?query=fd&sektion=4&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports file descriptor] files; The files /dev/fd/0 through /dev/fd/# refer to file descriptors which can be accessed through the file system.
| |
− | |-
| |
− | |devfs(5)||The [https://www.freebsd.org/cgi/man.cgi?query=devfs&sektion=5&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports device] file system, or devfs, provides access to kernel's device namespace in the global file system namespace. The conventional mount point is /dev.
| |
− | |-
| |
− | |fsck(8)||The [https://www.freebsd.org/cgi/man.cgi?query=fsck&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports fsck] utility invokes file system-specific programs to check the spe cial devices listed in the fstab(5) file or in the command line for consistency.
| |
| |} | | |} |
| | | |
| [[Category:Central Station Sysutils]] | | [[Category:Central Station Sysutils]] |