lots of semantic sugar, do things the 4BSD way... ;-}
[unix-history] / usr / src / include / disktab.h
index fb3132b..1d0f6b5 100644 (file)
@@ -1,4 +1,14 @@
-/*     @(#)disktab.h   4.2 (Berkeley) %G%      */
+/*
+ * Copyright (c) 1983, 1993
+ *     The Regents of the University of California.  All rights reserved.
+ *
+ * %sccs.include.redist.c%
+ *
+ *     @(#)disktab.h   8.1 (Berkeley) %G%
+ */
+
+#ifndef        _DISKTAB_H_
+#define        _DISKTAB_H_
 
 /*
  * Disk description table, see disktab(5)
 
 /*
  * Disk description table, see disktab(5)
@@ -13,6 +23,8 @@ struct        disktab {
        int     d_nsectors;             /* # sectors/track */
        int     d_ncylinders;           /* # cylinders */
        int     d_rpm;                  /* revolutions/minute */
        int     d_nsectors;             /* # sectors/track */
        int     d_ncylinders;           /* # cylinders */
        int     d_rpm;                  /* revolutions/minute */
+       int     d_badsectforw;          /* supports DEC bad144 std */
+       int     d_sectoffset;           /* use sect rather than cyl offsets */
        struct  partition {
                int     p_size;         /* #sectors in partition */
                short   p_bsize;        /* block size in bytes */
        struct  partition {
                int     p_size;         /* #sectors in partition */
                short   p_bsize;        /* block size in bytes */
@@ -20,4 +32,4 @@ struct        disktab {
        } d_partitions[8];
 };
 
        } d_partitions[8];
 };
 
-struct disktab *getdiskbyname();
+#endif /* !_DISKTAB_H_ */