unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (4.2BSD)
Page:
Section:
Apropos / Subsearch:
optional field

DISKTAB(5)                    File Formats Manual                   DISKTAB(5)



NAME
       disktab - disk description file

SYNOPSIS
       #include <&lt;disktab.h>&gt;

DESCRIPTION
       Disktab  is a simple date base which describes disk geometries and disk
       partition characteristics.  The format is  patterned  after  the  term-
       cap(5)  terminal  data base.  Entries in disktab consist of a number of
       `:' separated fields.  The first entry for each disk  gives  the  names
       which  are  known  for the disk, separated by `|' 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.

       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
       ba    num   Block size for partition `a' (bytes)
       bd    num   Block size for partition `d' (bytes)
       be    num   Block size for partition `e' (bytes)
       bf    num   Block size for partition `f' (bytes)
       bg    num   Block size for partition `g' (bytes)
       bh    num   Block size for partition `h' (bytes)
       fa    num   Fragment size for partition `a' (bytes)
       fd    num   Fragment size for partition `d' (bytes)
       fe    num   Fragment size for partition `e' (bytes)
       ff    num   Fragment size for partition `f' (bytes)
       fg    num   Fragment size for partition `g' (bytes)
       fh    num   Fragment size for partition `h' (bytes)
       pa    num   Size of partition `a' in sectors
       pb    num   Size of partition `b' in sectors
       pc    num   Size of partition `c' in sectors
       pd    num   Size of partition `d' in sectors
       pe    num   Size of partition `e' in sectors
       pf    num   Size of partition `f' in sectors
       pg    num   Size of partition `g' in sectors
       ph    num   Size of partition `h' in sectors
       se    num   Sector size in bytes
       ty    str   Type of disk (e.g. removable, winchester)

       Disktab  entries  may be automatically generated with the diskpart pro-
       gram.

FILES
       /etc/disktab

SEE ALSO
       newfs(8), diskpart(8)

BUGS
       This file shouldn't exist, the information should  be  stored  on  each
       disk pack.



4th Berkeley Distribution        2 March 1983                       DISKTAB(5)