121302Sdist /* 221302Sdist * Copyright (c) 1983 Regents of the University of California. 321302Sdist * All rights reserved. The Berkeley software License Agreement 421302Sdist * specifies the terms and conditions for redistribution. 521302Sdist * 6*25083Smckusick * @(#)disktab.h 5.2 (Berkeley) 10/01/85 721302Sdist */ 811410Ssam 911410Ssam /* 1011410Ssam * Disk description table, see disktab(5) 1111410Ssam */ 1211410Ssam #define DISKTAB "/etc/disktab" 1311410Ssam 1411410Ssam struct disktab { 1511410Ssam char *d_name; /* drive name */ 1611410Ssam char *d_type; /* drive type */ 1711410Ssam int d_secsize; /* sector size in bytes */ 1811410Ssam int d_ntracks; /* # tracks/cylinder */ 1911410Ssam int d_nsectors; /* # sectors/track */ 2011410Ssam int d_ncylinders; /* # cylinders */ 2111410Ssam int d_rpm; /* revolutions/minute */ 22*25083Smckusick int d_badsectforw; /* supports DEC bad144 std */ 23*25083Smckusick int d_sectoffset; /* use sect rather than cyl offsets */ 2411410Ssam struct partition { 2511410Ssam int p_size; /* #sectors in partition */ 2611410Ssam short p_bsize; /* block size in bytes */ 2711410Ssam short p_fsize; /* frag size in bytes */ 2811410Ssam } d_partitions[8]; 2911410Ssam }; 3011410Ssam 3111410Ssam struct disktab *getdiskbyname(); 32