- * @APPLE_LICENSE_HEADER_START@
- *
- * The contents of this file constitute Original Code as defined in and
- * are subject to the Apple Public Source License Version 1.1 (the
- * "License"). You may not use this file except in compliance with the
- * License. Please obtain a copy of the License at
- * http://www.apple.com/publicsource and read it before using this file.
- *
- * This Original Code and all software distributed under the License are
- * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
+ * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
+ *
+ * This file contains Original Code and/or Modifications of Original Code
+ * as defined in and that are subject to the Apple Public Source License
+ * Version 2.0 (the 'License'). You may not use this file except in
+ * compliance with the License. The rights granted to you under the License
+ * may not be used to create, or enable the creation or redistribution of,
+ * unlawful or unlicensed copies of an Apple operating system, or to
+ * circumvent, violate, or enable the circumvention or violation of, any
+ * terms of an Apple operating system software license agreement.
+ *
+ * Please obtain a copy of the License at
+ * http://www.opensource.apple.com/apsl/ and read it before using this file.
+ *
+ * The Original Code and all software distributed under the License are
+ * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
* EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
* INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
* EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
* INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
- * License for the specific language governing rights and limitations
- * under the License.
- *
- * @APPLE_LICENSE_HEADER_END@
+ * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
+ * Please see the License for the specific language governing rights and
+ * limitations under the License.
+ *
+ * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
-#define MAXDNMLEN 24 // drive name length
-#define MAXMPTLEN 16 // mount point length
-#define MAXFSTLEN 8 // file system type length
-#define MAXTYPLEN 24 // drive type length
-#define NBOOTS 2 // # of boot blocks
-#define MAXBFLEN 24 // bootfile name length
-#define MAXHNLEN 32 // host name length
-#define NPART 8 // # of partitions
+#define MAXDNMLEN 24 // drive name length
+#define MAXMPTLEN 16 // mount point length
+#define MAXFSTLEN 8 // file system type length
+#define MAXTYPLEN 24 // drive type length
+#define NBOOTS 2 // # of boot blocks
+#define MAXBFLEN 24 // bootfile name length
+#define MAXHNLEN 32 // host name length
+#define NPART 8 // # of partitions
- int p_base; /* base sector# of partition */
- int p_size; /* #sectors in partition */
- short p_bsize; /* block size in bytes */
- short p_fsize; /* frag size in bytes */
- char p_opt; /* 's'pace/'t'ime optimization pref */
- short p_cpg; /* cylinders per group */
- short p_density; /* bytes per inode density */
- char p_minfree; /* minfree (%) */
- char p_newfs; /* run newfs during init */
- char p_mountpt[MAXMPTLEN];/* mount point */
- char p_automnt; /* auto-mount when inserted */
- char p_type[MAXFSTLEN];/* file system type */
+ int p_base; /* base sector# of partition */
+ int p_size; /* #sectors in partition */
+ short p_bsize; /* block size in bytes */
+ short p_fsize; /* frag size in bytes */
+ char p_opt; /* 's'pace/'t'ime optimization pref */
+ short p_cpg; /* cylinders per group */
+ short p_density; /* bytes per inode density */
+ char p_minfree; /* minfree (%) */
+ char p_newfs; /* run newfs during init */
+ char p_mountpt[MAXMPTLEN];/* mount point */
+ char p_automnt; /* auto-mount when inserted */
+ char p_type[MAXFSTLEN];/* file system type */
- char d_name[MAXDNMLEN]; /* drive name */
- char d_type[MAXTYPLEN]; /* drive type */
- int d_secsize; /* sector size in bytes */
- int d_ntracks; /* # tracks/cylinder */
- int d_nsectors; /* # sectors/track */
- int d_ncylinders; /* # cylinders */
- int d_rpm; /* revolutions/minute */
- short d_front; /* size of front porch (sectors) */
- short d_back; /* size of back porch (sectors) */
- short d_ngroups; /* number of alt groups */
- short d_ag_size; /* alt group size (sectors) */
- short d_ag_alts; /* alternate sectors / alt group */
- short d_ag_off; /* sector offset to first alternate */
- int d_boot0_blkno[NBOOTS]; /* "blk 0" boot locations */
- char d_bootfile[MAXBFLEN]; /* default bootfile */
- char d_hostname[MAXHNLEN]; /* host name */
- char d_rootpartition; /* root partition e.g. 'a' */
- char d_rwpartition; /* r/w partition e.g. 'b' */
+ char d_name[MAXDNMLEN]; /* drive name */
+ char d_type[MAXTYPLEN]; /* drive type */
+ int d_secsize; /* sector size in bytes */
+ int d_ntracks; /* # tracks/cylinder */
+ int d_nsectors; /* # sectors/track */
+ int d_ncylinders; /* # cylinders */
+ int d_rpm; /* revolutions/minute */
+ short d_front; /* size of front porch (sectors) */
+ short d_back; /* size of back porch (sectors) */
+ short d_ngroups; /* number of alt groups */
+ short d_ag_size; /* alt group size (sectors) */
+ short d_ag_alts; /* alternate sectors / alt group */
+ short d_ag_off; /* sector offset to first alternate */
+ int d_boot0_blkno[NBOOTS]; /* "blk 0" boot locations */
+ char d_bootfile[MAXBFLEN]; /* default bootfile */
+ char d_hostname[MAXHNLEN]; /* host name */
+ char d_rootpartition; /* root partition e.g. 'a' */
+ char d_rwpartition; /* r/w partition e.g. 'b' */