121302Sdist /* 2*61068Sbostic * Copyright (c) 1983, 1993 3*61068Sbostic * The Regents of the University of California. All rights reserved. 421302Sdist * 542613Sbostic * %sccs.include.redist.c% 635760Sbostic * 7*61068Sbostic * @(#)disktab.h 8.1 (Berkeley) 06/02/93 821302Sdist */ 911410Ssam 1047764Sbostic #ifndef _DISKTAB_H_ 1147764Sbostic #define _DISKTAB_H_ 1247764Sbostic 1311410Ssam /* 1411410Ssam * Disk description table, see disktab(5) 1511410Ssam */ 1611410Ssam #define DISKTAB "/etc/disktab" 1711410Ssam 1811410Ssam struct disktab { 1911410Ssam char *d_name; /* drive name */ 2011410Ssam char *d_type; /* drive type */ 2111410Ssam int d_secsize; /* sector size in bytes */ 2211410Ssam int d_ntracks; /* # tracks/cylinder */ 2311410Ssam int d_nsectors; /* # sectors/track */ 2411410Ssam int d_ncylinders; /* # cylinders */ 2511410Ssam int d_rpm; /* revolutions/minute */ 2625083Smckusick int d_badsectforw; /* supports DEC bad144 std */ 2725083Smckusick int d_sectoffset; /* use sect rather than cyl offsets */ 2811410Ssam struct partition { 2911410Ssam int p_size; /* #sectors in partition */ 3011410Ssam short p_bsize; /* block size in bytes */ 3111410Ssam short p_fsize; /* frag size in bytes */ 3211410Ssam } d_partitions[8]; 3311410Ssam }; 3411410Ssam 3547764Sbostic #endif /* !_DISKTAB_H_ */ 36