Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/disklabel Add '-DSAVEBOOTAREA' to keep MBR partition in...



details:   https://anonhg.NetBSD.org/src/rev/525706a4cdc7
branches:  trunk
changeset: 480301:525706a4cdc7
user:      shin <shin%NetBSD.org@localhost>
date:      Sun Jan 09 02:45:43 2000 +0000

description:
Add '-DSAVEBOOTAREA' to keep MBR partition information
when NetBSD partition starts at sector 0.
Closes PR:port-hpcmips/9146.

diffstat:

 sbin/disklabel/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 3b54723c9fe7 -r 525706a4cdc7 sbin/disklabel/Makefile
--- a/sbin/disklabel/Makefile   Sun Jan 09 02:37:06 2000 +0000
+++ b/sbin/disklabel/Makefile   Sun Jan 09 02:45:43 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.34 1999/10/11 05:28:04 shin Exp $
+#      $NetBSD: Makefile,v 1.35 2000/01/09 02:45:43 shin Exp $
 #      @(#)Makefile    8.2 (Berkeley) 3/17/94
 
 PROG=  disklabel
@@ -34,6 +34,9 @@
 CPPFLAGS+= -DCOMPAT_386BSD_MBRPART
 # use MBR partition info
 CPPFLAGS+= -DUSE_MBR
+# read in the old boot area even though we don't support writing the boot
+# area with disklabel(8).
+CPPFLAGS+= -DSAVEBOOTAREA
 .endif
 
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index