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

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

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

amp;ns Ta num
Number of sectors per track

amp;nt Ta num
Number of tracks per cylinder

amp;nc Ta num
Total number of cylinders on the disk

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

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

amp;se Ta num
Sector size in bytes, DEV_BSIZE default

amp;sf Ta bool
Controller supports bad144-style bad sector forwarding

amp;rm Ta num
Rotation speed, rpm, 3600 default

amp;sk Ta num
Sector skew per track, default 0

amp;cs Ta num
Sector skew per cylinder, default 0

amp;hs Ta num
Headswitch time, usec, default 0

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

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

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

amp;bs Ta num
Boot block size, default BBSIZE

amp;sb Ta num
Superblock size, default 0

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

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

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

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

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

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

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

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

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

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

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

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

amp;oa Ta num
Offset of partition `a' in sectors

amp;ob Ta num
Offset of partition `b' in sectors

amp;oc Ta num
Offset of partition `c' in sectors

amp;od Ta num
Offset of partition `d' in sectors

amp;oe Ta num
Offset of partition `e' in sectors

amp;of Ta num
Offset of partition `f' in sectors

amp;og Ta num
Offset of partition `g' in sectors

amp;oh Ta num
Offset of partition `h' in sectors

amp;pa Ta num
Size of partition `a' in sectors

amp;pb Ta num
Size of partition `b' in sectors

amp;pc Ta num
Size of partition `c' in sectors

amp;pd Ta num
Size of partition `d' in sectors

amp;pe Ta num
Size of partition `e' in sectors

amp;pf Ta num
Size of partition `f' in sectors

amp;pg Ta num
Size of partition `g' in sectors

amp;ph Ta num
Size of partition `h' in sectors

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

amp;tb Ta str
Partition type of partition `b'

amp;tc Ta str
Partition type of partition `c'

amp;td Ta str
Partition type of partition `d'

amp;te Ta str
Partition type of partition `e'

amp;tf Ta str
Partition type of partition `f'

amp;tg Ta str
Partition type of partition `g'

amp;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. Privacy policy.

There are two major products of Berkeley, CA -- LSD and UNIX. We don't believe this to be strictly by coincidence.
Jeremy S. Anderson