|
|
1.1 root 1: .\" Copyright (c) 1983 Regents of the University of California.
2: .\" All rights reserved. The Berkeley software License Agreement
3: .\" specifies the terms and conditions for redistribution.
4: .\"
5: .\" @(#)disktab.5 6.5 (Berkeley) 6/18/87
6: .\"
7: .TH DISKTAB 5 "June 18, 1987"
8: .UC 5
9: .SH NAME
10: disktab \- disk description file
11: .SH SYNOPSIS
12: .B #include <disktab.h>
13: .SH DESCRIPTION
14: .I Disktab
15: is a simple database which describes disk geometries and
16: disk partition characteristics.
17: It is used
18: .\"by the formatter(\c
19: .\"IR format (8))
20: .\"to determine how to format the disk, and
21: to initialize the disk label on the disk.
22: The format is patterned
23: after the
24: .IR termcap (5)
25: terminal data base. Entries in
26: .I disktab
27: consist of a number of `:' separated fields. The
28: first entry for each disk gives the names which are
29: known for the disk, separated by `|' characters. The
30: last name given should be a long name fully identifying
31: the disk.
32: .PP
33: The following list indicates the normal values
34: stored for each disk entry.
35: .nf
36:
37: .ta \w'd[0-4] 'u +\w'Type 'u
38: \fBName Type Description\fP
39:
40: ty str Type of disk (e.g. removable, winchester)
41: dt str Type of controller (e.g. SMD, ESDI, floppy)
42: ns num Number of sectors per track
43: nt num Number of tracks per cylinder
44: nc num Total number of cylinders on the disk
45: sc num Number of sectors per cylinder, nc*nt default
46: su num Number of sectors per unit, sc*nc default
47: se num Sector size in bytes, DEV_BSIZE default
48: sf bool Controller supports bad144-style bad sector forwarding
49: rm num Rotation speed, rpm, 3600 default
50: sk num Sector skew per track, default 0
51: cs num Sector skew per cylinder, default 0
52: hs num Headswitch time, usec, default 0
53: ts num One-cylinder seek time, usec, default 0
54: il num Sector interleave (n:1), 1 default
55: d[0-4] num Drive-type-dependent parameters
56: bs num Boot block size, default BBSIZE
57: sb num Superblock size, default SBSIZE
58: ba num Block size for partition `a' (bytes)
59: bd num Block size for partition `d' (bytes)
60: be num Block size for partition `e' (bytes)
61: bf num Block size for partition `f' (bytes)
62: bg num Block size for partition `g' (bytes)
63: bh num Block size for partition `h' (bytes)
64: fa num Fragment size for partition `a' (bytes)
65: fd num Fragment size for partition `d' (bytes)
66: fe num Fragment size or partition `e' (bytes)
67: ff num Fragment size for partition `f' (bytes)
68: fg num Fragment size for partition `g' (bytes)
69: fh num Fragment size for partition `h' (bytes)
70: oa num Offset of partition `a' in sectors
71: ob num Offset of partition `b' in sectors
72: oc num Offset of partition `c' in sectors
73: od num Offset of partition `d' in sectors
74: oe num Offset of partition `e' in sectors
75: of num Offset of partition `f' in sectors
76: og num Offset of partition `g' in sectors
77: oh num Offset of partition `h' in sectors
78: pa num Size of partition `a' in sectors
79: pb num Size of partition `b' in sectors
80: pc num Size of partition `c' in sectors
81: pd num Size of partition `d' in sectors
82: pe num Size of partition `e' in sectors
83: pf num Size of partition `f' in sectors
84: pg num Size of partition `g' in sectors
85: ph num Size of partition `h' in sectors
86: ta str Partition type of partition `a' (4.2BSD filesystem, swap, etc)
87: tb str Partition type of partition `b'
88: tc str Partition type of partition `c'
89: td str Partition type of partition `d'
90: te str Partition type of partition `e'
91: tf str Partition type of partition `f'
92: tg str Partition type of partition `g'
93: th str Partition type of partition `h'
94: .fi
95: .SH FILES
96: /etc/disktab
97: .SH "SEE ALSO"
98: getdiskbyname(3), disklabel(5), disklabel(8), newfs(8)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.