summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>1998-07-14 22:19:34 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>1998-07-14 22:19:34 +0000
commit5555cb880e7565c45b0a4ab002050b3c17267039 (patch)
treeadaebb463d7f7969e067ff9a716a9e7b61f09087
parentc3127fa847687d0146f420acd6752346df3237cf (diff)
Correct MAXPARTITIONS text.
-rw-r--r--sbin/disklabel/disklabel.514
1 files changed, 5 insertions, 9 deletions
diff --git a/sbin/disklabel/disklabel.5 b/sbin/disklabel/disklabel.5
index 9f84dd18984..e96f1971e32 100644
--- a/sbin/disklabel/disklabel.5
+++ b/sbin/disklabel/disklabel.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: disklabel.5,v 1.3 1998/07/11 22:42:56 angelos Exp $
+.\" $OpenBSD: disklabel.5,v 1.4 1998/07/14 22:19:33 angelos Exp $
.\" $NetBSD: disklabel.5,v 1.3 1995/03/18 14:54:36 cgd Exp $
.\"
.\" Copyright (c) 1987, 1991, 1993
@@ -129,13 +129,6 @@ is
#endif
#define DISKMAGIC ((u_long) 0x82564557) /* The disk magic number */
-#ifndef MAXPARTITIONS
-#if amiga
-#define MAXPARTITIONS 8
-#else
-#define MAXPARTITIONS 16
-#endif
-#endif
#ifndef LOCORE
struct disklabel {
@@ -232,7 +225,10 @@ struct disklabel {
#define p_cpg __partition_u1.cpg
#define p_sgs __partition_u1.sgs
u_short p_cpg; /* filesystem cylinders per group */
- } d_partitions[MAXPARTITIONS]; /* actually may be more */
+ } d_partitions[MAXPARTITIONS]; /* actually may be more, MAXPARTITIONS
+ * depends on the architecture, and
+ * typically varies between 8 and 16.
+ */
};
/* d_type values: */