|
Lines 177-183
Link Here
|
| 177 |
<literal>wcd</literal> before 4.0-RELEASE.</entry> |
177 |
<literal>wcd</literal> before 4.0-RELEASE.</entry> |
| 178 |
</row> |
178 |
</row> |
| 179 |
<row> |
179 |
<row> |
| 180 |
<entry>SCSI hard drives</entry> |
180 |
<entry>SCSI hard drives and USB Mass storage devices</entry> |
| 181 |
<entry><literal>da</literal> from 3.0-RELEASE, |
181 |
<entry><literal>da</literal> from 3.0-RELEASE, |
| 182 |
<literal>sd</literal> before 3.0-RELEASE.</entry> |
182 |
<literal>sd</literal> before 3.0-RELEASE.</entry> |
| 183 |
</row> |
183 |
</row> |
|
Lines 223-228
Link Here
|
| 223 |
</tgroup> |
223 |
</tgroup> |
| 224 |
</table> |
224 |
</table> |
| 225 |
|
225 |
|
|
|
226 |
<para>All the drives attached through a specific driver are |
| 227 |
numbered starting at 0. So the first IDE drive would be |
| 228 |
<quote>ad<emphasis>0</emphasis></quote>. You seldom need to use |
| 229 |
these devices.</para> |
| 230 |
|
| 226 |
<sect2 id="slicesandpartitions"> |
231 |
<sect2 id="slicesandpartitions"> |
| 227 |
<title>Slices and Partitions</title> |
232 |
<title>Slices and Partitions</title> |
| 228 |
<indexterm><primary>slices</primary></indexterm> |
233 |
<indexterm><primary>slices</primary></indexterm> |
|
Lines 231-247
Link Here
|
| 231 |
<para>Physical disks usually contain |
236 |
<para>Physical disks usually contain |
| 232 |
<firstterm>slices</firstterm>, unless they are |
237 |
<firstterm>slices</firstterm>, unless they are |
| 233 |
<quote>dangerously dedicated</quote>. Slice numbers follow |
238 |
<quote>dangerously dedicated</quote>. Slice numbers follow |
| 234 |
the device name, prefixed with an <literal>s</literal>: |
239 |
the device name, prefixed with an <literal>s</literal>, |
| 235 |
<quote>da0<emphasis>s1</emphasis></quote>.</para> |
240 |
starting at 1. So <quote>da0<emphasis>s1</emphasis></quote> |
|
|
241 |
is the first slice on the first SCSI drive. There can only be |
| 242 |
four physical slices on a disk, but you can have logical |
| 243 |
slices inside physical slices of the appropriate type. These |
| 244 |
extended slices are numbered starting at 5, so |
| 245 |
<quote>ad0<emphasis>s5</emphasis></quote> is the first |
| 246 |
extended slice on a disk. These devices are used by file |
| 247 |
systems that expect to occupy a slice.</para> |
| 236 |
|
248 |
|
| 237 |
<para>Slices, <quote>dangerously dedicated</quote> physical |
249 |
<para>Slices, <quote>dangerously dedicated</quote> physical |
| 238 |
drives, and other drives contain |
250 |
drives, and other drives contain |
| 239 |
<firstterm>partitions</firstterm>, which are represented as |
251 |
<firstterm>partitions</firstterm>, which are represented as |
| 240 |
letters from <literal>a</literal> to <literal>h</literal>. |
252 |
letters from <literal>a</literal> to <literal>h</literal>. |
| 241 |
<literal>b</literal> is reserved for swap partitions, and |
253 |
This letter is appended to the device name, so |
| 242 |
<literal>c</literal> is an unused partition the size of the |
254 |
<quote>da0<emphasis>a</emphasis></quote> is the a partition on |
| 243 |
entire slice or drive. This is explained in <xref |
255 |
the first da drive, which is <quote>dangerously dedicated</quote>. |
| 244 |
linkend="disks-adding">.</para> |
256 |
<quote>ad1s3<emphasis>e</emphasis></quote> is the fifth partition |
|
|
257 |
in the third slice of the second IDE disk drive.</para> |
| 258 |
|
| 259 |
<para>The boot code expects partition <literal>a</literal> to be |
| 260 |
the root partition. Partition <literal>b</literal> is normally |
| 261 |
reserved for swap partitions, and <literal>c</literal> is an |
| 262 |
unused partition the size of the entire slice or drive. This |
| 263 |
is explained in <xref linkend="disks-adding">.</para> |
| 245 |
</sect2> |
264 |
</sect2> |
| 246 |
</sect1> |
265 |
</sect1> |