Deleted Added
sdiff udiff text old ( 107788 ) new ( 114822 )
full compact
1.\" Copyright (c) 1983, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\" notice, this list of conditions and the following disclaimer in the
11.\" documentation and/or other materials provided with the distribution.
12.\" 3. All advertising materials mentioning features or use of this software
13.\" must display the following acknowledgement:
14.\" This product includes software developed by the University of
15.\" California, Berkeley and its contributors.
16.\" 4. Neither the name of the University nor the names of its contributors
17.\" may be used to endorse or promote products derived from this software
18.\" without specific prior written permission.
19.\"
20.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)disktab.5 8.1 (Berkeley) 6/5/93
33.\" $FreeBSD: head/share/man/man5/disktab.5 114822 2003-05-08 00:14:48Z trhodes $
34.\"
35.Dd June 5, 1993
36.Dt DISKTAB 5
37.Os
38.Sh NAME
39.Nm disktab
40.Nd disk description file
41.Sh SYNOPSIS
42.In disklabel.h
43.Sh DESCRIPTION
44.Nm Disktab
45is a simple database which describes disk geometries and
46disk partition characteristics.
47It is used
48.\"by the formatter(\c
49.\"IR.Xr format 8 )
50.\"to determine how to format the disk, and
51to initialize the disk label on the disk.
52The format is patterned
53after the
54.Xr termcap 5
55terminal data base. Entries in
56.Nm
57consist of a number of `:'-separated fields. The
58first field for each entry gives the names by which a
59disk's entry may be selected, separated by `|' characters. The
60last name given should be a long name fully identifying
61the disk.
62.Pp
63The optional fields for each entry are:
64.Bl -column "indent" "boolx"
65.It Sy "ID Type Description"
66.It "\&ty str Type of disk (e.g. removable, winchester)"
67.It "\&dt str Type of controller (e.g."
68.Tn SMD , ESDI ,
69floppy)
70.It "\&ns num Number of sectors per track"
71.It "\&nt num Number of tracks per cylinder"
72.It "\&nc num Total number of cylinders on the disk"
73.It "\&sc num Number of sectors per cylinder, nc*nt default"
74.It "\&su num Number of sectors per unit, sc*nc default"
75.It "\&se num Sector size in bytes,"
76.Dv DEV_BSIZE
77default
78.It "\&sf bool Controller supports bad144-style bad sector forwarding"
79.It "\&rm num Rotation speed, rpm, 3600 default"
80.It "\&sk num Sector skew per track, default 0"
81.It "\&cs num Sector skew per cylinder, default 0"
82.It "\&hs num Headswitch time, usec, default 0"
83.It "\&ts num One-cylinder seek time, usec, default 0"
84.It "\&il num Sector interleave (n:1), 1 default"
85.It "\&d[0-4] num Drive-type-dependent parameters"
86.It "\&bs num Boot block size, default"
87.Dv BBSIZE
88.It "\&b[0-1] num Boot block filenames; see"
89.Xr bsdlabel 8
90.It "\&sb num Superblock size, default"
91.Dv SBSIZE
92.It "\&ba num Block size for partition `a' (bytes)"
93.It "\&bd num Block size for partition `d' (bytes)"
94.It "\&be num Block size for partition `e' (bytes)"
95.It "\&bf num Block size for partition `f' (bytes)"
96.It "\&bg num Block size for partition `g' (bytes)"
97.It "\&bh num Block size for partition `h' (bytes)"
98.It "\&fa num Fragment size for partition `a' (bytes)"
99.It "\&fd num Fragment size for partition `d' (bytes)"
100.It "\&fe num Fragment size for partition `e' (bytes)"
101.It "\&ff num Fragment size for partition `f' (bytes)"
102.It "\&fg num Fragment size for partition `g' (bytes)"
103.It "\&fh num Fragment size for partition `h' (bytes)"
104.It "\&oa num Offset of partition `a' in sectors"
105.It "\&ob num Offset of partition `b' in sectors"
106.It "\&oc num Offset of partition `c' in sectors"
107.It "\&od num Offset of partition `d' in sectors"
108.It "\&oe num Offset of partition `e' in sectors"
109.It "\&of num Offset of partition `f' in sectors"
110.It "\&og num Offset of partition `g' in sectors"
111.It "\&oh num Offset of partition `h' in sectors"
112.It "\&pa num Size of partition `a' in sectors"
113.It "\&pb num Size of partition `b' in sectors"
114.It "\&pc num Size of partition `c' in sectors"
115.It "\&pd num Size of partition `d' in sectors"
116.It "\&pe num Size of partition `e' in sectors"
117.It "\&pf num Size of partition `f' in sectors"
118.It "\&pg num Size of partition `g' in sectors"
119.It "\&ph num Size of partition `h' in sectors"
120.It "\&ta str Partition type of partition `a'"
121.Pf ( Bx 4.2
122file system, swap, etc)
123.It "\&tb str Partition type of partition `b'"
124.It "\&tc str Partition type of partition `c'"
125.It "\&td str Partition type of partition `d'"
126.It "\&te str Partition type of partition `e'"
127.It "\&tf str Partition type of partition `f'"
128.It "\&tg str Partition type of partition `g'"
129.It "\&th str Partition type of partition `h'"
130.El
131.Sh FILES
132.Bl -tag -width /etc/disktab -compact
133.It Pa /etc/disktab
134.El
135.Sh SEE ALSO
136.Xr getdiskbyname 3 ,
137.Xr disklabel 5 ,
138.Xr disklabel 8 ,
139.Xr newfs 8
140.Sh HISTORY
141The
142.Nm
143description file appeared in
144.Bx 4.2 .