BSD directory structure list

xiaoxiao2021-03-06  91

I hope that you can help you better understand the structure of the BSD.

The overall concept of BSD is based on the basic understanding of its directory structure, the root directory "/" is the first to be hanged, and it contains the loading point of other file systems to be hung (Mount Point ), Standard loading points include / usr, / var, / mnt, / cdrom, and the like.

The complete description of the hierarchy of the file system can be done with the Hier command. Now, the main directory structure is listed below:

Directory description

-------------------------------------------------- ------------

/ File system root directory

/ bin / single user and multi-user environment, the basic tool used by users

/ Boot / Operating System Programs and Profiles used during startup

/ DEV / equipment node

/ etc / system configuration file and script

/ etc / mail / mail transfer agent profile

/ etc / namedb / domain name server program NAMED configuration file

/ etc / periodic / daily, weekly, monthly run script

/ etc / ppp / ppp configuration file

/ MNT / empty directory for temporary loading points

/ proc / process file system

/ ROOT / ROOT account home directory

/ SBIN / single user and system programs and management tools used in multi-user environments

/ Stand / program used in an independent environment

/ TMP / temporary file

/ usr / mainly user tools and applications

/ usr / bin / usually tools and applications

/ usr / include / standard C include file

/ usr / lib / document library

/ usr / libdata / data file for various tools

/ usr / libexec / system daemon and system tool

/ usr / local / local executable program and library, etc.

/ usr / obj / target tree generated by establishing / usr / src directory tree

/ usr / ports This is not used.

/ usr / sbin / system daemon and system tool (executed by the user)

/ usr / share / file-independent file

/ usr / src / local source code file

/ USR / X11R6 / X11R6 issued executable, library, etc.

/ VAR / multiple logs, temporary files and spool files

/ var / log / log file

/ var / mail / user mailbox file

/ var / spool / multiple printers and mail system spooling directory

/ VAR / TMP / system restart saved temporary file

/ VAR / YP NIS mapping table

It can be seen that the space required by / usr and / var is more than other mount points, so try to give these two MOUNT points.

Also use DF, DU commands can view disk usage of partitions.

转载请注明原文地址:https://www.9cbs.com/read-122256.html

New Post(0)