disktab(5)
Name
disktab − disk description file
Syntax
#include <disktab.h>
Description
The disktab file is a simple data base that describes disk geometries and disk partition characteristics. The format is patterned after the termcap() terminal data base. Entries in disktab consist of a number of fields separated by colons (:). The first entry for each disk gives the names that are known for the disk, separated by vertical bars (|). 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:
NameTypeDescription
nsnumNumber of sectors per track
ntnumNumber of tracks per cylinder
ncnumTotal number of cylinders on the disk
banumBlock size for partition ‘a’ (bytes)
bdnumBlock size for partition ‘d’ (bytes)
benumBlock size for partition ‘e’ (bytes)
bfnumBlock size for partition ‘f’ (bytes)
bgnumBlock size for partition ‘g’ (bytes)
bhnumBlock size for partition ‘h’ (bytes)
fanumFragment size for partition ‘a’ (bytes)
fdnumFragment size for partition ‘d’ (bytes)
fenumFragment size for partition ‘e’ (bytes)
ffnumFragment size for partition ‘f’ (bytes)
fgnumFragment size for partition ‘g’ (bytes)
fhnumFragment size for partition ‘h’ (bytes)
panumSize of partition ‘a’ in sectors
pbnumSize of partition ‘b’ in sectors
pcnumSize of partition ‘c’ in sectors
pdnumSize of partition ‘d’ in sectors
penumSize of partition ‘e’ in sectors
pfnumSize of partition ‘f’ in sectors
pgnumSize of partition ‘g’ in sectors
phnumSize of partition ‘h’ in sectors
senumSector size in bytes
tystrType of disk (e.g. removable, winchester)
The disktab entries can be automatically generated with the diskpart program.
Files
/etc/disktab