disktab(7) DEVICES AND MODULES disktab(7)
NAME
disktab - disk description file
SYNOPSIS
#include <disktab.h>
DESCRIPTION
Disktab is a simple data base which describes disk
geometries and disk partition characteristics. Entries in
disktab consist of a number of `:' separated fields. The
first entry for each disk gives the names which are known
for the disk, separated by `|' characters. The last name
given should be a long name fully identifying the disk.
The following list indicates the normal values stored for
each disk entry.
Name Type Description
ns num Number of sectors per track
nt num Number of tracks per cylinder
nc num Total number of cylinders on the disk
b0 num Block size for partition `0' (bytes)
b3 num Block size for partition `3' (bytes)
b4 num Block size for partition `4' (bytes)
b5 num Block size for partition `5' (bytes)
b6 num Block size for partition `6' (bytes)
b7 num Block size for partition `7' (bytes)
f0 num Fragment size for partition `0' (bytes)
f3 num Fragment size for partition `3' (bytes)
f4 num Fragment size for partition `4' (bytes)
f5 num Fragment size for partition `5' (bytes)
f6 num Fragment size for partition `6' (bytes)
f7 num Fragment size for partition `7' (bytes)
o0 num First sector number of partition `0'
o1 num First sector number of partition `1'
o2 num First sector number of partition `2'
o3 num First sector number of partition `3'
o4 num First sector number of partition `4'
o5 num First sector number of partition `5'
o6 num First sector number of partition `6'
o7 num First sector number of partition `7'
p0 num Size of partition `0' in sectors
p1 num Size of partition `1' in sectors
p2 num Size of partition `2' in sectors
p3 num Size of partition `3' in sectors
p4 num Size of partition `4' in sectors
p5 num Size of partition `5' in sectors
p6 num Size of partition `6' in sectors
p7 num Size of partition `7' in sectors
se num Sector size in bytes
sf bool supports bad144-style bad sector forwarding
1
disktab(7) DEVICES AND MODULES disktab(7)
so bool partition offsets in sectors
ty str Type of disk (e.g. removable, winchester)
NOTES
Partition `a' is recognized as partition `0'.
Partition `b' is recognized as partition `1'.
Partition `c' is recognized as partition `2'.
Partition `d' is recognized as partition `3'.
Partition `e' is recognized as partition `4'.
Partition `f' is recognized as partition `5'.
Partition `g' is recognized as partition `6'.
Partition `h' is recognized as partition `7'.
FILES
/etc/disktab
SEE ALSO
fmthard(1M), newfs(1M)
2