:man| Alphabetical   Categories   About us 
 
DISKTAB (5) | File formats and conventions | Unix Manual Pages | :man

NAME

disktab - disk description file

CONTENTS

Synopsis
Description
Files
See Also
History

SYNOPSIS


.In disklabel.h

DESCRIPTION

Disktab is a simple database which describes disk geometries and disk partition characteristics. It is used to initialize the disk label on the disk. The format is patterned after the termcap(5) terminal data base. Entries in disktab consist of a number of ‘:’-separated fields. The first field for each entry gives the names by which a disk’s entry may be selected, separated by ‘|’ characters. The last name given should be a long name fully identifying the disk.

The optional fields for each entry are:

"ID Type Description"
"ty strType of disk (e.g. removable, winchester)"
"dt strType of controller (e.g."
SMD, ESDI, floppy)
"ns numNumber of sectors per track"
"nt numNumber of tracks per cylinder"
"nc numTotal number of cylinders on the disk"
"sc numNumber of sectors per cylinder, ns*nt default"
"su numNumber of sectors per unit, sc*nc default"
"se numSector size in bytes,"
DEV_BSIZE default
"sf bool Controller supports bad144-style bad sector forwarding"
"rm numRotation speed, rpm, 3600 default"
"sk numSector skew per track, default 0"
"cs numSector skew per cylinder, default 0"
"hs numHeadswitch time, usec, default 0"
"ts numOne-cylinder seek time, usec, default 0"
"il numSector interleave (n:1), 1 default"
"d[0-4] numDrive-type-dependent parameters"
"bs numBoot block size, default"
BBSIZE
"b[0-1] numBoot block filenames; see" bsdlabel(8)
"sb numSuperblock size, default" SBSIZE
"ba numBlock size for partition ‘a’ (bytes)"
"bd numBlock size for partition ‘d’ (bytes)"
"be numBlock size for partition ‘e’ (bytes)"
"bf numBlock size for partition ‘f’ (bytes)"
"bg numBlock size for partition ‘g’ (bytes)"
"bh numBlock size for partition ‘h’ (bytes)"
"fa numFragment size for partition ‘a’ (bytes)"
"fd numFragment size for partition ‘d’ (bytes)"
"fe numFragment size for partition ‘e’ (bytes)"
"ff numFragment size for partition ‘f’ (bytes)"
"fg numFragment size for partition ‘g’ (bytes)"
"fh numFragment size for partition ‘h’ (bytes)"
"oa numOffset of partition ‘a’ in sectors"
"ob numOffset of partition ‘b’ in sectors"
"oc numOffset of partition ‘c’ in sectors"
"od numOffset of partition ‘d’ in sectors"
"oe numOffset of partition ‘e’ in sectors"
"of numOffset of partition ‘f’ in sectors"
"og numOffset of partition ‘g’ in sectors"
"oh numOffset of partition ‘h’ in sectors"
"pa numSize of partition ‘a’ in sectors"
"pb numSize of partition ‘b’ in sectors"
"pc numSize of partition ‘c’ in sectors"
"pd numSize of partition ‘d’ in sectors"
"pe numSize of partition ‘e’ in sectors"
"pf numSize of partition ‘f’ in sectors"
"pg numSize of partition ‘g’ in sectors"
"ph numSize of partition ‘h’ in sectors"
"ta strPartition type of partition ‘a’"
( Bx 4.2 file system, swap, etc)
"tb strPartition type of partition ‘b’"
"tc strPartition type of partition ‘c’"
"td strPartition type of partition ‘d’"
"te strPartition type of partition ‘e’"
"tf strPartition type of partition ‘f’"
"tg strPartition type of partition ‘g’"
"th strPartition type of partition ‘h’"

FILES

/etc/disktab

SEE ALSO

getdiskbyname(3), bsdlabel(8), newfs(8)

HISTORY

 
Created by Blin Media, 2008-2013