Deleted Added
full compact
disktab.5 (93575) disktab.5 (107788)
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
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 93575 2002-04-01 20:03:05Z phk $
33.\" $FreeBSD: head/share/man/man5/disktab.5 107788 2002-12-12 17:26:04Z ru $
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 entry for each disk gives the names which are
59known for the disk, separated by `|' characters. The
60last name given should be a long name fully identifying
61the disk.
62.Pp
63The following list indicates the normal values
64stored for each disk entry.
65.Bl -column "indent" "boolx"
66.It Sy "Name Type Description"
67.It "\&ty str Type of disk (e.g. removable, winchester)"
68.It "\&dt str Type of controller (e.g."
69.Tn SMD , ESDI ,
70floppy)
71.It "\&ns num Number of sectors per track"
72.It "\&nt num Number of tracks per cylinder"
73.It "\&nc num Total number of cylinders on the disk"
74.It "\&sc num Number of sectors per cylinder, nc*nt default"
75.It "\&su num Number of sectors per unit, sc*nc default"
76.It "\&se num Sector size in bytes,"
77.Dv DEV_BSIZE
78default
79.It "\&sf bool Controller supports bad144-style bad sector forwarding"
80.It "\&rm num Rotation speed, rpm, 3600 default"
81.It "\&sk num Sector skew per track, default 0"
82.It "\&cs num Sector skew per cylinder, default 0"
83.It "\&hs num Headswitch time, usec, default 0"
84.It "\&ts num One-cylinder seek time, usec, default 0"
85.It "\&il num Sector interleave (n:1), 1 default"
86.It "\&d[0-4] num Drive-type-dependent parameters"
87.It "\&bs num Boot block size, default"
88.Dv BBSIZE
89.It "\&sb num Superblock size, default"
90.Dv SBSIZE
91.It "\&ba num Block size for partition `a' (bytes)"
92.It "\&bd num Block size for partition `d' (bytes)"
93.It "\&be num Block size for partition `e' (bytes)"
94.It "\&bf num Block size for partition `f' (bytes)"
95.It "\&bg num Block size for partition `g' (bytes)"
96.It "\&bh num Block size for partition `h' (bytes)"
97.It "\&fa num Fragment size for partition `a' (bytes)"
98.It "\&fd num Fragment size for partition `d' (bytes)"
99.It "\&fe num Fragment size for partition `e' (bytes)"
100.It "\&ff num Fragment size for partition `f' (bytes)"
101.It "\&fg num Fragment size for partition `g' (bytes)"
102.It "\&fh num Fragment size for partition `h' (bytes)"
103.It "\&oa num Offset of partition `a' in sectors"
104.It "\&ob num Offset of partition `b' in sectors"
105.It "\&oc num Offset of partition `c' in sectors"
106.It "\&od num Offset of partition `d' in sectors"
107.It "\&oe num Offset of partition `e' in sectors"
108.It "\&of num Offset of partition `f' in sectors"
109.It "\&og num Offset of partition `g' in sectors"
110.It "\&oh num Offset of partition `h' in sectors"
111.It "\&pa num Size of partition `a' in sectors"
112.It "\&pb num Size of partition `b' in sectors"
113.It "\&pc num Size of partition `c' in sectors"
114.It "\&pd num Size of partition `d' in sectors"
115.It "\&pe num Size of partition `e' in sectors"
116.It "\&pf num Size of partition `f' in sectors"
117.It "\&pg num Size of partition `g' in sectors"
118.It "\&ph num Size of partition `h' in sectors"
119.It "\&ta str Partition type of partition `a'"
120.Pf ( Bx 4.2
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 entry for each disk gives the names which are
59known for the disk, separated by `|' characters. The
60last name given should be a long name fully identifying
61the disk.
62.Pp
63The following list indicates the normal values
64stored for each disk entry.
65.Bl -column "indent" "boolx"
66.It Sy "Name Type Description"
67.It "\&ty str Type of disk (e.g. removable, winchester)"
68.It "\&dt str Type of controller (e.g."
69.Tn SMD , ESDI ,
70floppy)
71.It "\&ns num Number of sectors per track"
72.It "\&nt num Number of tracks per cylinder"
73.It "\&nc num Total number of cylinders on the disk"
74.It "\&sc num Number of sectors per cylinder, nc*nt default"
75.It "\&su num Number of sectors per unit, sc*nc default"
76.It "\&se num Sector size in bytes,"
77.Dv DEV_BSIZE
78default
79.It "\&sf bool Controller supports bad144-style bad sector forwarding"
80.It "\&rm num Rotation speed, rpm, 3600 default"
81.It "\&sk num Sector skew per track, default 0"
82.It "\&cs num Sector skew per cylinder, default 0"
83.It "\&hs num Headswitch time, usec, default 0"
84.It "\&ts num One-cylinder seek time, usec, default 0"
85.It "\&il num Sector interleave (n:1), 1 default"
86.It "\&d[0-4] num Drive-type-dependent parameters"
87.It "\&bs num Boot block size, default"
88.Dv BBSIZE
89.It "\&sb num Superblock size, default"
90.Dv SBSIZE
91.It "\&ba num Block size for partition `a' (bytes)"
92.It "\&bd num Block size for partition `d' (bytes)"
93.It "\&be num Block size for partition `e' (bytes)"
94.It "\&bf num Block size for partition `f' (bytes)"
95.It "\&bg num Block size for partition `g' (bytes)"
96.It "\&bh num Block size for partition `h' (bytes)"
97.It "\&fa num Fragment size for partition `a' (bytes)"
98.It "\&fd num Fragment size for partition `d' (bytes)"
99.It "\&fe num Fragment size for partition `e' (bytes)"
100.It "\&ff num Fragment size for partition `f' (bytes)"
101.It "\&fg num Fragment size for partition `g' (bytes)"
102.It "\&fh num Fragment size for partition `h' (bytes)"
103.It "\&oa num Offset of partition `a' in sectors"
104.It "\&ob num Offset of partition `b' in sectors"
105.It "\&oc num Offset of partition `c' in sectors"
106.It "\&od num Offset of partition `d' in sectors"
107.It "\&oe num Offset of partition `e' in sectors"
108.It "\&of num Offset of partition `f' in sectors"
109.It "\&og num Offset of partition `g' in sectors"
110.It "\&oh num Offset of partition `h' in sectors"
111.It "\&pa num Size of partition `a' in sectors"
112.It "\&pb num Size of partition `b' in sectors"
113.It "\&pc num Size of partition `c' in sectors"
114.It "\&pd num Size of partition `d' in sectors"
115.It "\&pe num Size of partition `e' in sectors"
116.It "\&pf num Size of partition `f' in sectors"
117.It "\&pg num Size of partition `g' in sectors"
118.It "\&ph num Size of partition `h' in sectors"
119.It "\&ta str Partition type of partition `a'"
120.Pf ( Bx 4.2
121filesystem, swap, etc)
121file system, swap, etc)
122.It "\&tb str Partition type of partition `b'"
123.It "\&tc str Partition type of partition `c'"
124.It "\&td str Partition type of partition `d'"
125.It "\&te str Partition type of partition `e'"
126.It "\&tf str Partition type of partition `f'"
127.It "\&tg str Partition type of partition `g'"
128.It "\&th str Partition type of partition `h'"
129.El
130.Sh FILES
131.Bl -tag -width /etc/disktab -compact
132.It Pa /etc/disktab
133.El
134.Sh SEE ALSO
135.Xr getdiskbyname 3 ,
136.Xr disklabel 5 ,
137.Xr disklabel 8 ,
138.Xr newfs 8
139.Sh HISTORY
140The
141.Nm
142description file appeared in
143.Bx 4.2 .
122.It "\&tb str Partition type of partition `b'"
123.It "\&tc str Partition type of partition `c'"
124.It "\&td str Partition type of partition `d'"
125.It "\&te str Partition type of partition `e'"
126.It "\&tf str Partition type of partition `f'"
127.It "\&tg str Partition type of partition `g'"
128.It "\&th str Partition type of partition `h'"
129.El
130.Sh FILES
131.Bl -tag -width /etc/disktab -compact
132.It Pa /etc/disktab
133.El
134.Sh SEE ALSO
135.Xr getdiskbyname 3 ,
136.Xr disklabel 5 ,
137.Xr disklabel 8 ,
138.Xr newfs 8
139.Sh HISTORY
140The
141.Nm
142description file appeared in
143.Bx 4.2 .