Copyright (c) 1983, 1991, 1993
The Regents of the University of California. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. All advertising materials mentioning features or use of this software
must display the following acknowledgement:
This product includes software developed by the University of
California, Berkeley and its contributors.
4. Neither the name of the University nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.

@(#)disktab.5 8.1 (Berkeley) 6/5/93
$FreeBSD$

.Dd October 14, 2006 .Dt DISKTAB 5 .Os .Sh NAME .Nm disktab .Nd disk description file .Sh SYNOPSIS n disklabel.h .Sh DESCRIPTION .Nm Disktab is a simple database which describes disk geometries and disk partition characteristics. It is used by the formatter(\c
IR.Xr format 8 )
to determine how to format the disk, and
to initialize the disk label on the disk. The format is patterned after the .Xr termcap 5 terminal data base. Entries in .Nm 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 The optional fields for each entry are: l -column "indent" "boolx" t Sy "ID Type Description" t "ty str Type of disk (e.g. removable, winchester)" t "dt str Type of controller (e.g." .Tn SMD , ESDI , floppy) t "ns num Number of sectors per track" t "nt num Number of tracks per cylinder" t "nc num Total number of cylinders on the disk" t "sc num Number of sectors per cylinder, ns*nt default" t "su num Number of sectors per unit, sc*nc default" t "se num Sector size in bytes," .Dv DEV_BSIZE default t "sf bool Controller supports bad144-style bad sector forwarding" t "rm num Rotation speed, rpm, 3600 default" t "sk num Sector skew per track, default 0" t "cs num Sector skew per cylinder, default 0" t "hs num Headswitch time, usec, default 0" t "ts num One-cylinder seek time, usec, default 0" t "il num Sector interleave (n:1), 1 default" t "d[0-4] num Drive-type-dependent parameters" t "bs num Boot block size, default" .Dv BBSIZE t "sb num Superblock size, default 0" t "ba num Block size for partition `a' (bytes)" t "bd num Block size for partition `d' (bytes)" t "be num Block size for partition `e' (bytes)" t "bf num Block size for partition `f' (bytes)" t "bg num Block size for partition `g' (bytes)" t "bh num Block size for partition `h' (bytes)" t "fa num Fragment size for partition `a' (bytes)" t "fd num Fragment size for partition `d' (bytes)" t "fe num Fragment size for partition `e' (bytes)" t "ff num Fragment size for partition `f' (bytes)" t "fg num Fragment size for partition `g' (bytes)" t "fh num Fragment size for partition `h' (bytes)" t "oa num Offset of partition `a' in sectors" t "ob num Offset of partition `b' in sectors" t "oc num Offset of partition `c' in sectors" t "od num Offset of partition `d' in sectors" t "oe num Offset of partition `e' in sectors" t "of num Offset of partition `f' in sectors" t "og num Offset of partition `g' in sectors" t "oh num Offset of partition `h' in sectors" t "pa num Size of partition `a' in sectors" t "pb num Size of partition `b' in sectors" t "pc num Size of partition `c' in sectors" t "pd num Size of partition `d' in sectors" t "pe num Size of partition `e' in sectors" t "pf num Size of partition `f' in sectors" t "pg num Size of partition `g' in sectors" t "ph num Size of partition `h' in sectors" t "ta str Partition type of partition `a'"

f ( Bx 4.2 file system, swap, etc) t "tb str Partition type of partition `b'" t "tc str Partition type of partition `c'" t "td str Partition type of partition `d'" t "te str Partition type of partition `e'" t "tf str Partition type of partition `f'" t "tg str Partition type of partition `g'" t "th str Partition type of partition `h'" .El .Sh FILES l -tag -width /etc/disktab -compact t Pa /etc/disktab .El .Sh SEE ALSO .Xr getdiskbyname 3 , .Xr bsdlabel 8 , .Xr newfs 8 .Sh HISTORY The .Nm description file appeared in x 4.2 .