tail head cat sleep
QR code linking to this page

Manual Pages  — DISKTAB

NAME

disktab – disk description file

CONTENTS

SYNOPSIS

#include <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 Ta Type Description

ty Ta str
Type of disk (e.g. removable, winchester)

dt Ta str
Type of controller (e.g. SMD, ESDI, floppy)

ns Ta num
Number of sectors per track

nt Ta num
Number of tracks per cylinder

nc Ta num
Total number of cylinders on the disk

sc Ta num
Number of sectors per cylinder, ns*nt default

su Ta num
Number of sectors per unit, sc*nc default

se Ta num
Sector size in bytes, DEV_BSIZE default

sf Ta bool
Controller supports bad144-style bad sector forwarding

rm Ta num
Rotation speed, rpm, 3600 default

sk Ta num
Sector skew per track, default 0

cs Ta num
Sector skew per cylinder, default 0

hs Ta num
Headswitch time, usec, default 0

ts Ta num
One-cylinder seek time, usec, default 0

il Ta num
Sector interleave (n:1), 1 default

d[0-4] Ta num
Drive-type-dependent parameters

bs Ta num
Boot block size, default BBSIZE

sb Ta num
Superblock size, default 0

ba Ta num
Block size for partition `a' (bytes)

bd Ta num
Block size for partition `d' (bytes)

be Ta num
Block size for partition `e' (bytes)

bf Ta num
Block size for partition `f' (bytes)

bg Ta num
Block size for partition `g' (bytes)

bh Ta num
Block size for partition `h' (bytes)

fa Ta num
Fragment size for partition `a' (bytes)

fd Ta num
Fragment size for partition `d' (bytes)

fe Ta num
Fragment size for partition `e' (bytes)

ff Ta num
Fragment size for partition `f' (bytes)

fg Ta num
Fragment size for partition `g' (bytes)

fh Ta num
Fragment size for partition `h' (bytes)

oa Ta num
Offset of partition `a' in sectors

ob Ta num
Offset of partition `b' in sectors

oc Ta num
Offset of partition `c' in sectors

od Ta num
Offset of partition `d' in sectors

oe Ta num
Offset of partition `e' in sectors

of Ta num
Offset of partition `f' in sectors

og Ta num
Offset of partition `g' in sectors

oh Ta num
Offset of partition `h' in sectors

pa Ta num
Size of partition `a' in sectors

pb Ta num
Size of partition `b' in sectors

pc Ta num
Size of partition `c' in sectors

pd Ta num
Size of partition `d' in sectors

pe Ta num
Size of partition `e' in sectors

pf Ta num
Size of partition `f' in sectors

pg Ta num
Size of partition `g' in sectors

ph Ta num
Size of partition `h' in sectors

ta Ta str
Partition type of partition `a'( Bx 4.2 file system, swap, etc)

tb Ta str
Partition type of partition `b'

tc Ta str
Partition type of partition `c'

td Ta str
Partition type of partition `d'

te Ta str
Partition type of partition `e'

tf Ta str
Partition type of partition `f'

tg Ta str
Partition type of partition `g'

th Ta str
Partition type of partition `h'

FILES

/etc/disktab
 

SEE ALSO

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

HISTORY

The disktab description file appeared in BSD 4.2 .

DISKTAB (5) October 14, 2006

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock.

Unix is the answer, but only if you phrase the question very carefully.
— Belinda Asbell