1 .\" Copyright (c) 1983, 1991, 1993
2 .\" The Regents of the University of California. All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
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.
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
32 .\" @(#)disktab.5 8.1 (Berkeley) 6/5/93
40 .Nd disk description file
45 is a simple database which describes disk geometries and
46 disk partition characteristics.
48 .\"by the formatter(\c
50 .\"to determine how to format the disk, and
51 to initialize the disk label on the disk.
52 The format is patterned
58 consist of a number of `:'-separated fields.
60 first field for each entry gives the names by which a
61 disk's entry may be selected, separated by `|' characters.
63 last name given should be a long name fully identifying
66 The optional fields for each entry are:
67 .Bl -column "indent" "boolx"
68 .It Sy "ID Type Description"
69 .It "\&ty str Type of disk (e.g. removable, winchester)"
70 .It "\&dt str Type of controller (e.g."
73 .It "\&ns num Number of sectors per track"
74 .It "\&nt num Number of tracks per cylinder"
75 .It "\&nc num Total number of cylinders on the disk"
76 .It "\&sc num Number of sectors per cylinder, ns*nt default"
77 .It "\&su num Number of sectors per unit, sc*nc default"
78 .It "\&se num Sector size in bytes,"
81 .It "\&sf bool Controller supports bad144-style bad sector forwarding"
82 .It "\&rm num Rotation speed, rpm, 3600 default"
83 .It "\&sk num Sector skew per track, default 0"
84 .It "\&cs num Sector skew per cylinder, default 0"
85 .It "\&hs num Headswitch time, usec, default 0"
86 .It "\&ts num One-cylinder seek time, usec, default 0"
87 .It "\&il num Sector interleave (n:1), 1 default"
88 .It "\&d[0-4] num Drive-type-dependent parameters"
89 .It "\&bs num Boot block size, default"
91 .It "\&sb num Superblock size, default 0"
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'"
122 file 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'"
132 .Bl -tag -width /etc/disktab -compact
136 .Xr getdiskbyname 3 ,
143 description file appeared in