編集の要約なし |
|||
19行目: | 19行目: | ||
|/dev | |/dev | ||
|Special or device files, which refer to <u>physical devices</u>. See mknod(1). | |Special or device files, which refer to <u>physical devices</u>. See mknod(1). | ||
|} | |||
==/etc== | |||
{| class="wikitable" summary="オプション" | |||
!ディレクトリ | |||
!説明 | |||
|- | |- | ||
|/etc | |/etc | ||
37行目: | 43行目: | ||
|/etc/xml | |/etc/xml | ||
|This directory contains the configuration files for XML (optional). | |This directory contains the configuration files for XML (optional). | ||
|} | |||
{| class="wikitable" summary="オプション" | |||
!ディレクトリ | |||
!説明 | |||
|- | |- | ||
|/home | |/home | ||
|On machines with home directories for users, these are usually beneath this directory, directly or not. The structure of this directory depends on local administration decisions (optional). | |On machines with home directories for users, these are usually beneath this directory, directly or not. The structure of this directory depends on local administration decisions (optional). | ||
|{ | |||
==/lib== | |||
{| class="wikitable" summary="オプション" | |||
!ディレクトリ | |||
!説明 | |||
|- | |- | ||
|/lib | |/lib | ||
49行目: | 66行目: | ||
|/lib/modules | |/lib/modules | ||
| Loadable kernel modules (optional). | | Loadable kernel modules (optional). | ||
|} | |||
{| class="wikitable" summary="オプション" | |||
!ディレクトリ | |||
!説明 | |||
|- | |- | ||
|/lost+found | |/lost+found | ||
|This directory contains items lost in the filesystem. These items are usually <u>chunks of files mangled as a consequence of a faulty disk or a system crash</u>. | |This directory contains items lost in the filesystem. These items are usually <u>chunks of files mangled as a consequence of a faulty disk or a system crash</u>. | ||
|} | |||
==/media== | |||
{| class="wikitable" summary="オプション" | |||
!ディレクトリ | |||
!説明 | |||
|- | |- | ||
|/media | |/media | ||
70行目: | 98行目: | ||
|/meida/usb[1-9] | |/meida/usb[1-9] | ||
|USB drive (optional). | |USB drive (optional). | ||
|} | |||
{| class="wikitable" summary="オプション" | |||
!ディレクトリ | |||
!説明 | |||
|- | |- | ||
|/mnt | |/mnt | ||
97行目: | 130行目: | ||
|/tmp | |/tmp | ||
|This directory contains temporary files which <u>may be deleted with no notice, such as by a regular job</u> or at system boot up. | |This directory contains temporary files which <u>may be deleted with no notice, such as by a regular job</u> or at system boot up. | ||
|} | |||
==/usr== | |||
{| class="wikitable" summary="オプション" | |||
!ディレクトリ | |||
!説明 | |||
|- | |- | ||
|/usr | |/usr |
2022年11月29日 (火) 13:20時点における版
ファイルシステム階層標準(Filesystem Hierarchy Standard)。一般的にLinuxシステムは以下のようなディレクトリ構造になっている。下記はDebian11の「$man hier」の内容。
ディレクトリ | 説明 |
---|---|
/ | This is the root directory. This is where the whole tree starts. |
/bin -> usr/bin |
This directory contains executable programs which are needed in single user mode and to bring the system up or repair it. |
/usr/bin | This is the primary directory for executable programs. Most programs executed by normal users which are not needed for booting or for repairing the system and which are not installed locally should be placed in this directory. |
/boot | Contains static files for the boot loader. This directory holds only the files which are needed during the boot process. The map installer and configuration files should go to /sbin and /etc. The operating system kernel (initrd for example) must be located in either / or /boot. |
/dev | Special or device files, which refer to physical devices. See mknod(1). |
/etc
ディレクトリ | 説明 |
---|---|
/etc | Contains configuration files which are local to the machine. Some larger software packages, like X11, can have their own subdirectories below /etc.Site-wide configuration files may be placed here or in /usr/etc. Nevertheless, programs should always look for these files in /etc and you may have links for these files to /usr/etc. |
/etc/opt | Host-specific configuration files for add-on applications installed in /opt. |
/etc/skel | When a new user account is created, files from this directory are usually copied into the user's home directory. |
/etc/sgml | This directory contains the configuration files for SGML (optional). |
/etc/X11 | Configuration files for the X11 window system (optional). |
/etc/xml | This directory contains the configuration files for XML (optional). |
ディレクトリ | 説明 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
/home | On machines with home directories for users, these are usually beneath this directory, directly or not. The structure of this directory depends on local administration decisions (optional). | {
/lib
/media
/usr
|