- Import driver[acx(4)] for TI acx100/acx111 based WiFi NIC.
[dragonfly.git] / share / man / man5 / disktab.5
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: src/share/man/man5/disktab.5,v 1.4.2.6 2003/05/08 14:57:04 trhodes Exp $
34 .\" $DragonFly: src/share/man/man5/disktab.5,v 1.2 2003/06/17 04:37:00 dillon Exp $
35 .\"
36 .Dd June 5, 1993
37 .Dt DISKTAB 5
38 .Os
39 .Sh NAME
40 .Nm disktab
41 .Nd disk description file
42 .Sh SYNOPSIS
43 .In disktab.h
44 .Sh DESCRIPTION
45 .Nm Disktab
46 is a simple database which describes disk geometries and
47 disk partition characteristics.
48 It is used
49 .\"by the formatter(\c
50 .\"IR.Xr format 8 )
51 .\"to determine how to format the disk, and
52 to initialize the disk label on the disk.
53 The format is patterned
54 after the
55 .Xr termcap 5
56 terminal data base.  Entries in
57 .Nm
58 consist of a number of `:'-separated fields.  The
59 first field for each entry gives the names by which a
60 disk's entry may be selected, separated by `|' characters.  The
61 last name given should be a long name fully identifying
62 the disk.
63 .Pp
64 The optional fields for each entry are:
65 .Bl -column "indent" "boolx"
66 .It Sy "ID      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 ,
70 floppy)
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
78 default
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 "\&b[0-1]   num     Boot block filenames; see"
90 .Xr disklabel 8
91 .It "\&sb       num     Superblock size, default"
92 .Dv SBSIZE
93 .It "\&ba       num     Block size for partition `a' (bytes)"
94 .It "\&bd       num     Block size for partition `d' (bytes)"
95 .It "\&be       num     Block size for partition `e' (bytes)"
96 .It "\&bf       num     Block size for partition `f' (bytes)"
97 .It "\&bg       num     Block size for partition `g' (bytes)"
98 .It "\&bh       num     Block size for partition `h' (bytes)"
99 .It "\&fa       num     Fragment size for partition `a' (bytes)"
100 .It "\&fd       num     Fragment size for partition `d' (bytes)"
101 .It "\&fe       num     Fragment size for partition `e' (bytes)"
102 .It "\&ff       num     Fragment size for partition `f' (bytes)"
103 .It "\&fg       num     Fragment size for partition `g' (bytes)"
104 .It "\&fh       num     Fragment size for partition `h' (bytes)"
105 .It "\&oa       num     Offset of partition `a' in sectors"
106 .It "\&ob       num     Offset of partition `b' in sectors"
107 .It "\&oc       num     Offset of partition `c' in sectors"
108 .It "\&od       num     Offset of partition `d' in sectors"
109 .It "\&oe       num     Offset of partition `e' in sectors"
110 .It "\&of       num     Offset of partition `f' in sectors"
111 .It "\&og       num     Offset of partition `g' in sectors"
112 .It "\&oh       num     Offset of partition `h' in sectors"
113 .It "\&pa       num     Size of partition `a' in sectors"
114 .It "\&pb       num     Size of partition `b' in sectors"
115 .It "\&pc       num     Size of partition `c' in sectors"
116 .It "\&pd       num     Size of partition `d' in sectors"
117 .It "\&pe       num     Size of partition `e' in sectors"
118 .It "\&pf       num     Size of partition `f' in sectors"
119 .It "\&pg       num     Size of partition `g' in sectors"
120 .It "\&ph       num     Size of partition `h' in sectors"
121 .It "\&ta       str     Partition type of partition `a'"
122 .Pf ( Bx 4.2
123 filesystem, swap, etc)
124 .It "\&tb       str     Partition type of partition `b'"
125 .It "\&tc       str     Partition type of partition `c'"
126 .It "\&td       str     Partition type of partition `d'"
127 .It "\&te       str     Partition type of partition `e'"
128 .It "\&tf       str     Partition type of partition `f'"
129 .It "\&tg       str     Partition type of partition `g'"
130 .It "\&th       str     Partition type of partition `h'"
131 .El
132 .Sh FILES
133 .Bl -tag -width /etc/disktab -compact
134 .It Pa /etc/disktab
135 .El
136 .Sh SEE ALSO
137 .Xr getdiskbyname 3 ,
138 .Xr disklabel 5 ,
139 .Xr disklabel 8 ,
140 .Xr newfs 8
141 .Sh HISTORY
142 The
143 .Nm
144 description file appeared in
145 .Bx 4.2 .