1DISKTAB(5) File Formats Manual DISKTAB(5)
2
3
4
6 disktab - disk description file
7
9 #include <disktab.h>
10
12 Disktab is a simple date base which describes disk geometries and disk
13 partition characteristics. The format is patterned after the term‐
14 cap(5) terminal data base. Entries in disktab consist of a number of
15 `:' separated fields. The first entry for each disk gives the names
16 which are known for the disk, separated by `|' characters. The last
17 name given should be a long name fully identifying the disk.
18
19 The following list indicates the normal values stored for each disk
20 entry.
21
22 Name Type Description
23 ns num Number of sectors per track
24 nt num Number of tracks per cylinder
25 nc num Total number of cylinders on the disk
26 b0 str Filename of block zero primary bootstrap for device
27 ba num Block size for partition `a' (bytes)
28 bd num Block size for partition `d' (bytes)
29 be num Block size for partition `e' (bytes)
30 bf num Block size for partition `f' (bytes)
31 bg num Block size for partition `g' (bytes)
32 bh num Block size for partition `h' (bytes)
33 fa num Fragment size for partition `a' (bytes)
34 fd num Fragment size for partition `d' (bytes)
35 fe num Fragment size for partition `e' (bytes)
36 ff num Fragment size for partition `f' (bytes)
37 fg num Fragment size for partition `g' (bytes)
38 fh num Fragment size for partition `h' (bytes)
39 pa num Size of partition `a' in sectors
40 pb num Size of partition `b' in sectors
41 pc num Size of partition `c' in sectors
42 pd num Size of partition `d' in sectors
43 pe num Size of partition `e' in sectors
44 pf num Size of partition `f' in sectors
45 pg num Size of partition `g' in sectors
46 ph num Size of partition `h' in sectors
47 se num Sector size in bytes (default 512)
48 sf bool supports bad144-style bad sector forwarding
49 so bool partition offsets in sectors
50 ty str Type of disk (e.g. removable, winchester)
51
52 Disktab entries may be automatically generated with the diskpart pro‐
53 gram.
54
56 /etc/disktab
57
59 newfs(8), diskpart(8), getdiskbyname(3)
60
62 This file shouldn't exist, the information should be stored on each
63 disk pack.
64
65
66
674.2 Berkeley Distribution May 17, 1986 DISKTAB(5)