Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 2003 07:12:52 -0800 (PST)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 24898 for review
Message-ID:  <200302091512.h19FCqaZ073675@repoman.freebsd.org>

index | next in thread | raw e-mail

http://perforce.freebsd.org/chv.cgi?CH=24898

Change 24898 by jmallett@jmallett_dalek on 2003/02/09 07:11:55

	Document the units of some obvious fields, mention the BE nature.

Affected files ...

.. //depot/projects/mips/sys/sys/diskfx.h#3 edit

Differences ...

==== //depot/projects/mips/sys/sys/diskfx.h#3 (text+ko) ====

@@ -31,6 +31,7 @@
 #define	FX_LABEL_MAGIC	0xbe5a941
 #define	FX_DIRSIZE	15
 #define	FX_NPARTS	16
+#define	FX_VOLHDRPART	8
 
 static const char *fx_typename[] = {
 	"Volume Header",
@@ -77,17 +78,17 @@
 
 struct voldir {
 	char		vd_name[8];
-	int32_t		vd_addr;
-	int32_t		vd_size;
+	int32_t		vd_addr;	/* In blocks. */
+	int32_t		vd_size;	/* In bytes. */
 } __packed;
 
 struct volpart {
-	int32_t		vp_size;
-	int32_t		vp_begin;
-	int32_t		vp_type;
+	int32_t		vp_size;	/* In bytes. */
+	int32_t		vp_begin;	/* In blocks. */
+	int32_t		vp_type;	/* See fx_typename. */
 } __packed;
 
-struct volhdr {
+struct volhdr {				/* In network byte order. */
 	u_int32_t	vh_magic;
 	int16_t		vh_root;
 	int16_t		vh_swap;

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302091512.h19FCqaZ073675>