Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

newfs(1M)

getdiskbyname(3C)

disktab(4)

NAME

disktab − disk description file

SYNOPSIS

#include <disktab.h>

DESCRIPTION

disktab is a simple database that describes disk geometries and disk section characteristics.  Entries in disktab consist of a number of colon-separated fields.  The first entry for each disk gives the names by which the disk is known, separated by vertical bar (|) 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.  Sectors are of size DEV_BSIZE, defined in <sys/param.h>. 

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 section ‘0’ (bytes)
b1 num Block size for section ‘1’ (bytes)
bn num Block size for section ‘n’ (bytes)
f0 num Fragment size for section ‘0’ (bytes)
f1 num Fragment size for section ‘1’ (bytes)
fn num Fragment size for section ‘n’ (bytes)
s0 num Size of section ‘0’ in sectors
s1 num Size of section ‘1’ in sectors
sn num Size of section ‘n’ in sectors
rm num Revolution per minute
ty str Type of disk (e.g. removable, winchester)

Example:

hp7914:
    :ty=winchester:ns#16:nt#7:nc#1061
    :s0#118832
        :b0#8192:f0#1024:rm#3600:

DEPENDENCIES

Series 300/400/700:

There is only one section per disk drive. 

FILES

/etc/disktab

AUTHOR

disktab was developed by HP and the University of California, Berkeley. 

SEE ALSO

newfs(1M), getdiskbyname(3C). 

Hewlett-Packard Company  —  HP-UX Release 9.0: August 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026