summaryrefslogtreecommitdiff
path: root/sys/arch/sun3/include/disklabel.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-11-13 04:06:58 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-11-13 04:06:58 +0000
commit4812bae1cc75698bab2915e6b1116f596d703cf7 (patch)
treea0891cde3d38026c1331cd6481595e3dc605fb96 /sys/arch/sun3/include/disklabel.h
parentaac8d39c753e8525875d63bebbe9fca8cda2b70c (diff)
from netbsd
Diffstat (limited to 'sys/arch/sun3/include/disklabel.h')
-rw-r--r--sys/arch/sun3/include/disklabel.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/arch/sun3/include/disklabel.h b/sys/arch/sun3/include/disklabel.h
index 7772ad954b6..fb03ee9d7b0 100644
--- a/sys/arch/sun3/include/disklabel.h
+++ b/sys/arch/sun3/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $NetBSD: disklabel.h,v 1.2 1995/05/24 21:00:15 gwr Exp $ */
+/* $NetBSD: disklabel.h,v 1.2.2.1 1995/11/10 22:08:54 gwr Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
@@ -38,7 +38,12 @@
#define MAXPARTITIONS 8 /* number of partitions */
#define RAW_PART 2 /* raw partition: xx?c */
-/* Just a dummy */
+/*
+ * This holds a copy of the whole label block, saved in here by
+ * readdisklabel() so that writedisklabel() can preserve the
+ * parts of the label block outside of the actual label.
+ * (i.e. Sun label info, bad block table, etc.)
+ */
struct cpu_disklabel {
char cd_block[512];
};