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