| 1 |
<?xml version="1.0" encoding="EUC-JP"?>
|
| 2 |
<!-- retain these comments for translator revision tracking -->
|
| 3 |
<!-- original version: 11648 -->
|
| 4 |
|
| 5 |
|
| 6 |
<sect1 id="directory-tree">
|
| 7 |
<title>¥Ç¥£¥ì¥¯¥È¥ê¥Ä¥ê¡¼</title>
|
| 8 |
<para>
|
| 9 |
|
| 10 |
<!--
|
| 11 |
&debian; adheres to the
|
| 12 |
<ulink url="&url-fhs-home;">Filesystem Hierarchy Standard</ulink>
|
| 13 |
for directory and file naming. This standard allows users and software
|
| 14 |
programs to predict the location of files and directories. The root
|
| 15 |
level directory is represented simply by the slash
|
| 16 |
<filename>/</filename>. At the root level, all Debian systems include
|
| 17 |
these directories:
|
| 18 |
-->
|
| 19 |
¥Ç¥£¥ì¥¯¥È¥ê¤È¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ë¤Ä¤¤¤Æ¡¢&debian; ¤Ï
|
| 20 |
<ulink url="&url-fhs-home;">Filesystem Hierarchy Standard</ulink>
|
| 21 |
¤Ë½¾¤Ã¤Æ¤¤¤Þ¤¹¡£¤³¤Îµ¬³Ê¤òÍѤ¤¤ë¤È¡¢¥æ¡¼¥¶¤ä¥×¥í¥°¥é¥à¤Ï¡¢
|
| 22 |
¥Õ¥¡¥¤¥ë¤ä¥Ç¥£¥ì¥¯¥È¥ê¤Î¾ì½ê¤òͽÁÛ¤·¤ä¤¹¤¯¤Ê¤ê¤Þ¤¹¡£
|
| 23 |
º¬¤Ã¤³ (¥ë¡¼¥È = root) ¤Ë¤¢¤ë¥Ç¥£¥ì¥¯¥È¥ê¤Ï¡¢Ã±¤Ë¥¹¥é¥Ã¥·¥å <filename>/</filename>
|
| 24 |
¤Çɽ¤µ¤ì¤Þ¤¹¡£¥ë¡¼¥È¤Î¥ì¥Ù¥ë¤Ë¤Ï¡¢
|
| 25 |
Debian ¥·¥¹¥Æ¥à¤Ç¤Ïɬ¤º°Ê²¼¤Î¤è¤¦¤Ê¥Ç¥£¥ì¥¯¥È¥ê¤¬´Þ¤Þ¤ì¤Þ¤¹¡£
|
| 26 |
|
| 27 |
<informaltable>
|
| 28 |
<tgroup cols="2">
|
| 29 |
<thead>
|
| 30 |
<row>
|
| 31 |
<!--
|
| 32 |
<entry>Directory</entry><entry>Content</entry>
|
| 33 |
-->
|
| 34 |
<entry>¥Ç¥£¥ì¥¯¥È¥ê</entry><entry>ÆâÍÆ</entry>
|
| 35 |
</row>
|
| 36 |
</thead>
|
| 37 |
|
| 38 |
<tbody>
|
| 39 |
<!--
|
| 40 |
<row>
|
| 41 |
<entry><filename>bin</filename></entry>
|
| 42 |
<entry>Essential command binaries</entry>
|
| 43 |
</row><row>
|
| 44 |
<entry><filename>boot</filename></entry>
|
| 45 |
<entry>Static files of the boot loader</entry>
|
| 46 |
</row><row>
|
| 47 |
<entry><filename>dev</filename></entry>
|
| 48 |
<entry>Device files</entry>
|
| 49 |
</row><row>
|
| 50 |
<entry><filename>etc</filename></entry>
|
| 51 |
<entry>Host-specific system configuration</entry>
|
| 52 |
</row><row>
|
| 53 |
<entry><filename>home</filename></entry>
|
| 54 |
<entry>User home directories</entry>
|
| 55 |
</row><row>
|
| 56 |
<entry><filename>lib</filename></entry>
|
| 57 |
<entry>Essential shared libraries and kernel modules</entry>
|
| 58 |
</row><row>
|
| 59 |
<entry><filename>mnt</filename></entry>
|
| 60 |
<entry>Mount point for mounting a file system temporarily</entry>
|
| 61 |
</row><row>
|
| 62 |
<entry><filename>proc</filename></entry>
|
| 63 |
<entry>Virtual directory for system information</entry>
|
| 64 |
</row><row>
|
| 65 |
<entry><filename>root</filename></entry>
|
| 66 |
<entry>Home directory for the root user</entry>
|
| 67 |
</row><row>
|
| 68 |
<entry><filename>sbin</filename></entry>
|
| 69 |
<entry>Essential system binaries</entry>
|
| 70 |
</row><row>
|
| 71 |
<entry><filename>tmp</filename></entry>
|
| 72 |
<entry>Temporary files</entry>
|
| 73 |
</row><row>
|
| 74 |
<entry><filename>usr</filename></entry>
|
| 75 |
<entry>Secondary hierarchy</entry>
|
| 76 |
</row><row>
|
| 77 |
<entry><filename>var</filename></entry>
|
| 78 |
<entry>Variable data</entry>
|
| 79 |
</row><row>
|
| 80 |
<entry><filename>opt</filename></entry>
|
| 81 |
<entry>Add-on application software packages</entry>
|
| 82 |
</row>
|
| 83 |
-->
|
| 84 |
<row>
|
| 85 |
<entry><filename>bin</filename></entry>
|
| 86 |
<entry>´ðËÜŪ¤Ê¥³¥Þ¥ó¥É¥Ð¥¤¥Ê¥ê</entry>
|
| 87 |
</row><row>
|
| 88 |
<entry><filename>boot</filename></entry>
|
| 89 |
<entry>¥Ö¡¼¥È¥í¡¼¥À¤Î¥¹¥¿¥Æ¥£¥Ã¥¯¤Ê¥Õ¥¡¥¤¥ë</entry>
|
| 90 |
</row><row>
|
| 91 |
<entry><filename>dev</filename></entry>
|
| 92 |
<entry>¥Ç¥Ð¥¤¥¹¥Õ¥¡¥¤¥ë</entry>
|
| 93 |
</row><row>
|
| 94 |
<entry><filename>etc</filename></entry>
|
| 95 |
<entry>¥Û¥¹¥È¸ÇͤΥ·¥¹¥Æ¥àÀßÄê</entry>
|
| 96 |
</row><row>
|
| 97 |
<entry><filename>home</filename></entry>
|
| 98 |
<entry>¥æ¡¼¥¶¤Î¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê</entry>
|
| 99 |
</row><row>
|
| 100 |
<entry><filename>lib</filename></entry>
|
| 101 |
<entry>´ðËÜŪ¤Ê¶¦Í¥é¥¤¥Ö¥é¥ê¤È¥«¡¼¥Í¥ë¥â¥¸¥å¡¼¥ë</entry>
|
| 102 |
</row><row>
|
| 103 |
<entry><filename>mnt</filename></entry>
|
| 104 |
<entry>¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ò°ì»þŪ¤Ë¥Þ¥¦¥ó¥È¤¹¤ë¤¿¤á¤Î¥Ý¥¤¥ó¥È</entry>
|
| 105 |
</row><row>
|
| 106 |
<entry><filename>proc</filename></entry>
|
| 107 |
<entry>¥·¥¹¥Æ¥à¾ðÊó¤ò´Þ¤à²¾Áۥǥ£¥ì¥¯¥È¥ê</entry>
|
| 108 |
</row><row>
|
| 109 |
<entry><filename>root</filename></entry>
|
| 110 |
<entry>root ¥æ¡¼¥¶¤Î¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê</entry>
|
| 111 |
</row><row>
|
| 112 |
<entry><filename>sbin</filename></entry>
|
| 113 |
<entry>´ðËÜŪ¤Ê¥·¥¹¥Æ¥à¥Ð¥¤¥Ê¥ê</entry>
|
| 114 |
</row><row>
|
| 115 |
<entry><filename>tmp</filename></entry>
|
| 116 |
<entry>°ì»þ¥Õ¥¡¥¤¥ëÍÑ</entry>
|
| 117 |
</row><row>
|
| 118 |
<entry><filename>usr</filename></entry>
|
| 119 |
<entry>Âè 2 ³¬ÁØ</entry>
|
| 120 |
</row><row>
|
| 121 |
<entry><filename>var</filename></entry>
|
| 122 |
<entry>²ÄÊѥǡ¼¥¿</entry>
|
| 123 |
</row><row>
|
| 124 |
<entry><filename>opt</filename></entry>
|
| 125 |
<entry>¥¢¥É¥ª¥ó¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¥½¥Õ¥È¥¦¥§¥¢¥Ñ¥Ã¥±¡¼¥¸</entry>
|
| 126 |
</row>
|
| 127 |
</tbody></tgroup></informaltable>
|
| 128 |
</para>
|
| 129 |
|
| 130 |
<para>
|
| 131 |
|
| 132 |
<!--
|
| 133 |
The following is a list of important considerations regarding
|
| 134 |
directories and partitions.
|
| 135 |
-->
|
| 136 |
°Ê²¼¤Î°ìÍ÷¤Ï¡¢¥Ç¥£¥ì¥¯¥È¥ê¤ä¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Ë¤Ä¤¤¤Æ
|
| 137 |
½ÅÍפȤʤë¹Í¤¨Êý¤òÀâÌÀ¤·¤¿¤â¤Î¤Ç¤¹¡£
|
| 138 |
|
| 139 |
</para>
|
| 140 |
<itemizedlist>
|
| 141 |
<listitem><para>
|
| 142 |
|
| 143 |
<!--
|
| 144 |
The root partition <filename>/</filename> must always physically
|
| 145 |
contain <filename>/etc</filename>, <filename>/bin</filename>,
|
| 146 |
<filename>/sbin</filename>, <filename>/lib</filename> and
|
| 147 |
<filename>/dev</filename>, otherwise you won't be able to boot.
|
| 148 |
Typically 100 MB is needed for the root partition, but this may vary.
|
| 149 |
-->
|
| 150 |
¥ë¡¼¥È¥Ñ¡¼¥Æ¥£¥·¥ç¥ó <filename>/</filename> ¤Ï¡¢É¬¤º
|
| 151 |
<filename>/etc</filename>¡¢<filename>/bin</filename>¡¢
|
| 152 |
<filename>/sbin</filename>¡¢<filename>/lib</filename>¡¢
|
| 153 |
<filename>/dev</filename> ¤òʪÍýŪ¤Ë´Þ¤ó¤Ç¤¤¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó
|
| 154 |
(¤Ä¤Þ¤ê¤³¤ì¤é¤Î¥Ç¥£¥ì¥¯¥È¥ê¤òÊ̤Υѡ¼¥Æ¥£¥·¥ç¥ó¤Ë¤·¤Æ¤Ï¤¤¤±¤Þ¤»¤ó)¡£
|
| 155 |
¤µ¤â¤Ê¤¤¤Èµ¯Æ°¤¬¤Ç¤¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£
|
| 156 |
°ìÈÌŪ¤Ë¤³¤³¤Ï 100 MB ÄøÅÙ¤òɬÍפȤ·¤Þ¤¹¤¬¡¢É¬ÍפÊÍÆÎ̤Ͼì¹ç¤Ë¤è¤Ã¤ÆÊѲ½¤·¤Þ¤¹¡£
|
| 157 |
|
| 158 |
</para></listitem>
|
| 159 |
<listitem><para>
|
| 160 |
|
| 161 |
<!--
|
| 162 |
<filename>/usr</filename>: all user programs
|
| 163 |
(<filename>/usr/bin</filename>), libraries
|
| 164 |
(<filename>/usr/lib</filename>), documentation
|
| 165 |
(<filename>/usr/share/doc</filename>), etc., are in this
|
| 166 |
directory. This part of the file system needs most of the space. You
|
| 167 |
should provide at least 500 MB of disk space. If you want to install
|
| 168 |
more packages you should increase the amount of space you give this
|
| 169 |
directory.
|
| 170 |
-->
|
| 171 |
<filename>/usr</filename>: ¤¹¤Ù¤Æ¤Î¥æ¡¼¥¶¥×¥í¥°¥é¥à
|
| 172 |
(<filename>/usr/bin</filename>)¡¢¥é¥¤¥Ö¥é¥ê
|
| 173 |
(<filename>/usr/lib</filename>)¡¢Ê¸½ñ
|
| 174 |
(<filename>/usr/share/doc</filename>) ¤Ê¤É¤Ï¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë
|
| 175 |
¼ý¤á¤é¤ì¤Þ¤¹¡£¤³¤³¤Ï¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ÎÃæ¤Ç¤âºÇ¤âÍÆÎ̤òɬÍפȤ¹¤ë¤È¤³¤í¤Ç¤¹¡£
|
| 176 |
¾¯¤Ê¤¯¤È¤â 500 MB ¤Î¥Ç¥£¥¹¥¯ÍÆÎ̤ò³ä¤êÅö¤Æ¤ë¤Ù¤¤Ç¤·¤ç¤¦¡£¤¿¤¯¤µ¤ó¤Î
|
| 177 |
¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¾ì¹ç¤Ï¡¢¤â¤Ã¤È¿¤¯¤Î¥Ç¥£¥¹¥¯ÍÆÎ̤ò¤³¤Î
|
| 178 |
¥Ç¥£¥ì¥¯¥È¥ê¤Ë³ä¤êÅö¤Æ¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
|
| 179 |
|
| 180 |
</para></listitem>
|
| 181 |
<listitem><para>
|
| 182 |
|
| 183 |
<!--
|
| 184 |
<filename>/home</filename>: every user will put his data into a
|
| 185 |
subdirectory of this directory. The size of this depends on how many
|
| 186 |
users will be using the system and what files are to be stored in
|
| 187 |
their directories. Depending on your planned usage you should reserve
|
| 188 |
about 100 MB for each user, but adapt this value to your needs.
|
| 189 |
-->
|
| 190 |
<filename>/home</filename>: ³Æ¥æ¡¼¥¶¤Ï¡¢¸Ä¿ÍŪ¤Ê¥Ç¡¼¥¿¤ò¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Î
|
| 191 |
¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤Ë¼ý¤á¤Þ¤¹¡£¤½¤ÎÍÆÎ̤ϡ¢¤³¤Î¥·¥¹¥Æ¥à¤òÍøÍѤ¹¤ë¥æ¡¼¥¶¤Î¿ô¤ä¡¢
|
| 192 |
¥æ¡¼¥¶¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤É¤Î¤è¤¦¤Ê¥Õ¥¡¥¤¥ë¤¬¼ý¤á¤é¤ì¤ë¤«¤Ë¤è¤Ã¤Æ°Û¤Ê¤Ã¤Æ¤¤Þ¤¹¡£
|
| 193 |
¥·¥¹¥Æ¥à¤Î»È¤¤Êý¤Ë¤â¤è¤ê¤Þ¤¹¤¬¡¢¥æ¡¼¥¶¤´¤È¤ËÌó 100 MB ¤Û¤É¤¬É¬ÍפǤ·¤ç¤¦¡£
|
| 194 |
¤·¤«¤·¤³¤ÎÃͤÏɬÍפ˱þ¤¸¤ÆÄ´À°¤·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
|
| 195 |
|
| 196 |
</para></listitem>
|
| 197 |
<listitem><para>
|
| 198 |
|
| 199 |
<!--
|
| 200 |
<filename>/var</filename>: all variable data like news articles,
|
| 201 |
e-mails, web sites, the packaging system cache, etc. will be placed
|
| 202 |
under this directory. The size of this directory depends greatly on
|
| 203 |
the usage of your computer, but for most people will be dictated by
|
| 204 |
the package management tool's overhead. If you are going to do a full
|
| 205 |
installation of just about everything Debian has to offer, all in one
|
| 206 |
session, setting aside 2 or 3 gigabytes of space for
|
| 207 |
<filename>/var</filename> should be sufficient. If you are going to
|
| 208 |
install in pieces (that is to say, install services and utilities,
|
| 209 |
followed by text stuff, then X, ...), you can get away with 300 - 500
|
| 210 |
megabytes in <filename>/var</filename>. If hard drive space is at a
|
| 211 |
premium and you don't plan on doing major system updates, you can get
|
| 212 |
by with as little as 30 or 40 megabytes in <filename>/var</filename>.
|
| 213 |
-->
|
| 214 |
<filename>/var</filename>: ¥Ë¥å¡¼¥¹µ»ö¡¢ÅŻҥ᡼¥ë¡¢¥¦¥§¥Ö¥³¥ó¥Æ¥ó¥Ä¡¢
|
| 215 |
¥Ñ¥Ã¥±¡¼¥¸¥ó¥°¥·¥¹¥Æ¥à¤Î¥¥ã¥Ã¥·¥å¤Ê¤É¡¢
|
| 216 |
¤µ¤Þ¤¶¤Þ¤Ê²ÄÊѥǡ¼¥¿¤¹¤Ù¤Æ¤¬¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¼ý¤á¤é¤ì¤Þ¤¹¡£
|
| 217 |
¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ÎÍÆÎ̤ϥ³¥ó¥Ô¥å¡¼¥¿¤ÎÍøÍÑÊýË¡¤ËÂ礤¯º¸±¦¤µ¤ì¤Þ¤¹¤¬¡¢
|
| 218 |
¤¿¤¤¤Æ¤¤¤Î¾ì¹ç¤Ï¥Ñ¥Ã¥±¡¼¥¸´ÉÍý¥Ä¡¼¥ë¤¬»È¤¦Ê¬¤¬
|
| 219 |
ºÇ¤âÂ礤ʱƶÁ¤ò»ý¤Ä¤³¤È¤Ë¤Ê¤ë¤Ç¤·¤ç¤¦¡£
|
| 220 |
Debian ¤¬Ä󶡤¹¤ë¤â¤Î¤¹¤Ù¤Æ¤ò¤¤¤Ã¤Ú¤ó¤Ë¥Õ¥ë¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¾ì¹ç¤Ç¤â¡¢
|
| 221 |
<filename>/var</filename> ¤Ë¤Ï 2¡Á3 GB ¤Û¤É¤ÎÍÆÎ̤ò³ä¤êÅö¤Æ¤Æ¤ª¤±¤Ð
|
| 222 |
¤ê¤ë¤Ï¤º¤Ç¤¹¡£
|
| 223 |
°ìÅ٤ˤ¹¤Ù¤Æ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤»¤º¡¢ÉôʬÉôʬ¤ò½ù¡¹¤Ë
|
| 224 |
(Î㤨¤Ð¡¢¤Þ¤º¥µ¡¼¥Ó¥¹¤ä¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤ò¡¢¼¡¤Ë¥³¥ó¥½¡¼¥ëÍѤΤâ¤Î¡¢
|
| 225 |
¼¡¤Ë X ÍѤΤâ¤Î¡Ä¤È¤¤¤¦¤è¤¦¤Ë) ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤Ê¤é¡¢
|
| 226 |
<filename>/var</filename> ¤Ë¤Ï 300¡Á500 MB ¤Î¶õ¤ÍÆÎ̤¬¤¢¤ì¤ÐÎɤ¤¤Ç¤·¤ç¤¦¡£
|
| 227 |
¥Ï¡¼¥É¥É¥é¥¤¥Ö¤Î¶õ¤ÍÆÎ̤¬µ®½Å¤Ê¤â¤Î¤Ç¡¢
|
| 228 |
¾¯¤Ê¤¯¤È¤â¥á¥¸¥ã¡¼¥¢¥Ã¥×¥Ç¡¼¥È¤ò¤¹¤ëͽÄ꤬¤Ê¤¤¤Ê¤é¤Ð¡¢
|
| 229 |
<filename>/var</filename> ¤Ë³ä¤êÅö¤Æ¤ëÍÆÎÌ¤Ï 30¡Á40 MB ÄøÅ٤Ǥ⹽¤¤¤Þ¤»¤ó¡£
|
| 230 |
|
| 231 |
</para></listitem>
|
| 232 |
<listitem><para>
|
| 233 |
|
| 234 |
<!--
|
| 235 |
<filename>/tmp</filename>: if a program creates temporary data it will
|
| 236 |
most likely go in <filename>/tmp</filename>. 20-50 MB should usually
|
| 237 |
be enough.
|
| 238 |
-->
|
| 239 |
<filename>/tmp</filename>: ¥×¥í¥°¥é¥à¤¬°ì»þ¥Ç¡¼¥¿¤òºîÀ®¤¹¤ë¾ì¹ç¡¢
|
| 240 |
ÉáÄÌ <filename>/tmp</filename> ¥Ç¥£¥ì¥¯¥È¥ê¤òÍøÍѤ·¤Þ¤¹¡£
|
| 241 |
Ä̾ï¤Ï 20¡Á50 MB ¤¢¤ì¤Ð½¼Ê¬¤Ç¤·¤ç¤¦¡£
|
| 242 |
|
| 243 |
</para></listitem>
|
| 244 |
</itemizedlist>
|
| 245 |
|
| 246 |
</sect1>
|