Add support for the new ENVIRON opton
[unix-history] / usr / src / include / disktab.h
CommitLineData
bb0cfa24 1/*
56559b70
KB
2 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved.
bb0cfa24 4 *
863005e5 5 * %sccs.include.redist.c%
cf0f7409 6 *
56559b70 7 * @(#)disktab.h 8.1 (Berkeley) %G%
bb0cfa24 8 */
f9932ef4 9
d2b7358e
KB
10#ifndef _DISKTAB_H_
11#define _DISKTAB_H_
12
f9932ef4
SL
13/*
14 * Disk description table, see disktab(5)
15 */
16#define DISKTAB "/etc/disktab"
f9932ef4
SL
17
18struct disktab {
19 char *d_name; /* drive name */
20 char *d_type; /* drive type */
21 int d_secsize; /* sector size in bytes */
22 int d_ntracks; /* # tracks/cylinder */
23 int d_nsectors; /* # sectors/track */
24 int d_ncylinders; /* # cylinders */
25 int d_rpm; /* revolutions/minute */
e7924e03
KM
26 int d_badsectforw; /* supports DEC bad144 std */
27 int d_sectoffset; /* use sect rather than cyl offsets */
f9932ef4
SL
28 struct partition {
29 int p_size; /* #sectors in partition */
30 short p_bsize; /* block size in bytes */
31 short p_fsize; /* frag size in bytes */
32 } d_partitions[8];
33};
34
d2b7358e 35#endif /* !_DISKTAB_H_ */