summaryrefslogtreecommitdiff
path: root/static/freebsd/man5/disktab.5 3.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/freebsd/man5/disktab.5 3.html')
-rw-r--r--static/freebsd/man5/disktab.5 3.html333
1 files changed, 333 insertions, 0 deletions
diff --git a/static/freebsd/man5/disktab.5 3.html b/static/freebsd/man5/disktab.5 3.html
new file mode 100644
index 00000000..7370497d
--- /dev/null
+++ b/static/freebsd/man5/disktab.5 3.html
@@ -0,0 +1,333 @@
+<table class="head">
+ <tr>
+ <td class="head-ltitle">DISKTAB(5)</td>
+ <td class="head-vol">File Formats Manual</td>
+ <td class="head-rtitle">DISKTAB(5)</td>
+ </tr>
+</table>
+<div class="manual-text">
+<section class="Sh">
+<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<p class="Pp"><code class="Nm">disktab</code> &#x2014; <span class="Nd">disk
+ description file</span></p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<p class="Pp"><code class="In">#include
+ &lt;<a class="In">disklabel.h</a>&gt;</code></p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<p class="Pp"><code class="Nm">Disktab</code> is a simple database which
+ describes disk geometries and disk partition characteristics. It is used to
+ initialize the disk label on the disk. The format is patterned after the
+ <a class="Xr">termcap(5)</a> terminal data base. Entries in
+ <code class="Nm">disktab</code> consist of a number of `:'-separated fields.
+ The first field for each entry gives the names by which a disk's entry may
+ be selected, separated by `|' characters. The last name given should be a
+ long name fully identifying the disk.</p>
+<p class="Pp">The optional fields for each entry are:</p>
+<table class="Bl-column">
+ <tr id="ID">
+ <td><a class="permalink" href="#ID"><b class="Sy">ID</b></a></td>
+ <td>Type</td>
+ <td>Description</td>
+ </tr>
+ <tr>
+ <td>ty</td>
+ <td>str</td>
+ <td>Type of disk (e.g. removable, winchester)</td>
+ </tr>
+ <tr>
+ <td>dt</td>
+ <td>str</td>
+ <td>Type of controller (e.g. SMD, ESDI, floppy)</td>
+ </tr>
+ <tr>
+ <td>ns</td>
+ <td>num</td>
+ <td>Number of sectors per track</td>
+ </tr>
+ <tr>
+ <td>nt</td>
+ <td>num</td>
+ <td>Number of tracks per cylinder</td>
+ </tr>
+ <tr>
+ <td>nc</td>
+ <td>num</td>
+ <td>Total number of cylinders on the disk</td>
+ </tr>
+ <tr>
+ <td>sc</td>
+ <td>num</td>
+ <td>Number of sectors per cylinder, ns*nt default</td>
+ </tr>
+ <tr>
+ <td>su</td>
+ <td>num</td>
+ <td>Number of sectors per unit, sc*nc default</td>
+ </tr>
+ <tr>
+ <td>se</td>
+ <td>num</td>
+ <td>Sector size in bytes, <code class="Dv">DEV_BSIZE</code> default</td>
+ </tr>
+ <tr>
+ <td>sf</td>
+ <td>bool</td>
+ <td>Controller supports bad144-style bad sector forwarding</td>
+ </tr>
+ <tr>
+ <td>rm</td>
+ <td>num</td>
+ <td>Rotation speed, rpm, 3600 default</td>
+ </tr>
+ <tr>
+ <td>sk</td>
+ <td>num</td>
+ <td>Sector skew per track, default 0</td>
+ </tr>
+ <tr>
+ <td>cs</td>
+ <td>num</td>
+ <td>Sector skew per cylinder, default 0</td>
+ </tr>
+ <tr>
+ <td>hs</td>
+ <td>num</td>
+ <td>Headswitch time, usec, default 0</td>
+ </tr>
+ <tr>
+ <td>ts</td>
+ <td>num</td>
+ <td>One-cylinder seek time, usec, default 0</td>
+ </tr>
+ <tr>
+ <td>il</td>
+ <td>num</td>
+ <td>Sector interleave (n:1), 1 default</td>
+ </tr>
+ <tr>
+ <td>d[0-4]</td>
+ <td>num</td>
+ <td>Drive-type-dependent parameters</td>
+ </tr>
+ <tr>
+ <td>bs</td>
+ <td>num</td>
+ <td>Boot block size, default <code class="Dv">BBSIZE</code></td>
+ </tr>
+ <tr>
+ <td>sb</td>
+ <td>num</td>
+ <td>Superblock size, default 0</td>
+ </tr>
+ <tr>
+ <td>ba</td>
+ <td>num</td>
+ <td>Block size for partition `a' (bytes)</td>
+ </tr>
+ <tr>
+ <td>bd</td>
+ <td>num</td>
+ <td>Block size for partition `d' (bytes)</td>
+ </tr>
+ <tr>
+ <td>be</td>
+ <td>num</td>
+ <td>Block size for partition `e' (bytes)</td>
+ </tr>
+ <tr>
+ <td>bf</td>
+ <td>num</td>
+ <td>Block size for partition `f' (bytes)</td>
+ </tr>
+ <tr>
+ <td>bg</td>
+ <td>num</td>
+ <td>Block size for partition `g' (bytes)</td>
+ </tr>
+ <tr>
+ <td>bh</td>
+ <td>num</td>
+ <td>Block size for partition `h' (bytes)</td>
+ </tr>
+ <tr>
+ <td>fa</td>
+ <td>num</td>
+ <td>Fragment size for partition `a' (bytes)</td>
+ </tr>
+ <tr>
+ <td>fd</td>
+ <td>num</td>
+ <td>Fragment size for partition `d' (bytes)</td>
+ </tr>
+ <tr>
+ <td>fe</td>
+ <td>num</td>
+ <td>Fragment size for partition `e' (bytes)</td>
+ </tr>
+ <tr>
+ <td>ff</td>
+ <td>num</td>
+ <td>Fragment size for partition `f' (bytes)</td>
+ </tr>
+ <tr>
+ <td>fg</td>
+ <td>num</td>
+ <td>Fragment size for partition `g' (bytes)</td>
+ </tr>
+ <tr>
+ <td>fh</td>
+ <td>num</td>
+ <td>Fragment size for partition `h' (bytes)</td>
+ </tr>
+ <tr>
+ <td>oa</td>
+ <td>num</td>
+ <td>Offset of partition `a' in sectors</td>
+ </tr>
+ <tr>
+ <td>ob</td>
+ <td>num</td>
+ <td>Offset of partition `b' in sectors</td>
+ </tr>
+ <tr>
+ <td>oc</td>
+ <td>num</td>
+ <td>Offset of partition `c' in sectors</td>
+ </tr>
+ <tr>
+ <td>od</td>
+ <td>num</td>
+ <td>Offset of partition `d' in sectors</td>
+ </tr>
+ <tr>
+ <td>oe</td>
+ <td>num</td>
+ <td>Offset of partition `e' in sectors</td>
+ </tr>
+ <tr>
+ <td>of</td>
+ <td>num</td>
+ <td>Offset of partition `f' in sectors</td>
+ </tr>
+ <tr>
+ <td>og</td>
+ <td>num</td>
+ <td>Offset of partition `g' in sectors</td>
+ </tr>
+ <tr>
+ <td>oh</td>
+ <td>num</td>
+ <td>Offset of partition `h' in sectors</td>
+ </tr>
+ <tr>
+ <td>pa</td>
+ <td>num</td>
+ <td>Size of partition `a' in sectors</td>
+ </tr>
+ <tr>
+ <td>pb</td>
+ <td>num</td>
+ <td>Size of partition `b' in sectors</td>
+ </tr>
+ <tr>
+ <td>pc</td>
+ <td>num</td>
+ <td>Size of partition `c' in sectors</td>
+ </tr>
+ <tr>
+ <td>pd</td>
+ <td>num</td>
+ <td>Size of partition `d' in sectors</td>
+ </tr>
+ <tr>
+ <td>pe</td>
+ <td>num</td>
+ <td>Size of partition `e' in sectors</td>
+ </tr>
+ <tr>
+ <td>pf</td>
+ <td>num</td>
+ <td>Size of partition `f' in sectors</td>
+ </tr>
+ <tr>
+ <td>pg</td>
+ <td>num</td>
+ <td>Size of partition `g' in sectors</td>
+ </tr>
+ <tr>
+ <td>ph</td>
+ <td>num</td>
+ <td>Size of partition `h' in sectors</td>
+ </tr>
+ <tr>
+ <td>ta</td>
+ <td>str</td>
+ <td>Partition type of partition `a' (<span class="Ux">4.2BSD</span> file
+ system, swap, etc)</td>
+ </tr>
+ <tr>
+ <td>tb</td>
+ <td>str</td>
+ <td>Partition type of partition `b'</td>
+ </tr>
+ <tr>
+ <td>tc</td>
+ <td>str</td>
+ <td>Partition type of partition `c'</td>
+ </tr>
+ <tr>
+ <td>td</td>
+ <td>str</td>
+ <td>Partition type of partition `d'</td>
+ </tr>
+ <tr>
+ <td>te</td>
+ <td>str</td>
+ <td>Partition type of partition `e'</td>
+ </tr>
+ <tr>
+ <td>tf</td>
+ <td>str</td>
+ <td>Partition type of partition `f'</td>
+ </tr>
+ <tr>
+ <td>tg</td>
+ <td>str</td>
+ <td>Partition type of partition `g'</td>
+ </tr>
+ <tr>
+ <td>th</td>
+ <td>str</td>
+ <td>Partition type of partition `h'</td>
+ </tr>
+</table>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="FILES"><a class="permalink" href="#FILES">FILES</a></h1>
+<dl class="Bl-tag Bl-compact">
+ <dt><span class="Pa">/etc/disktab</span></dt>
+ <dd style="width: auto;">&#x00A0;</dd>
+</dl>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
+ ALSO</a></h1>
+<p class="Pp"><a class="Xr">getdiskbyname(3)</a>, <a class="Xr">bsdlabel(8)</a>,
+ <a class="Xr">newfs(8)</a></p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<p class="Pp">The <code class="Nm">disktab</code> description file appeared in
+ <span class="Ux">4.2BSD</span>.</p>
+</section>
+</div>
+<table class="foot">
+ <tr>
+ <td class="foot-date">October 14, 2006</td>
+ <td class="foot-os">FreeBSD 15.0</td>
+ </tr>
+</table>