Module Name: src
Committed By: ad
Date: Sat Apr 4 10:38:00 UTC 2009
Modified Files:
src/distrib/utils/sysinst: bsddisklabel.c
Log Message:
- Default to UFS2 if the platform can boot from it.
- Default logging on.
To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/distrib/utils/sysinst/bsddisklabel.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/utils/sysinst/bsddisklabel.c
diff -u src/distrib/utils/sysinst/bsddisklabel.c:1.45 src/distrib/utils/sysinst/bsddisklabel.c:1.46
--- src/distrib/utils/sysinst/bsddisklabel.c:1.45 Sat May 24 11:06:53 2008
+++ src/distrib/utils/sysinst/bsddisklabel.c Sat Apr 4 10:38:00 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: bsddisklabel.c,v 1.45 2008/05/24 11:06:53 martin Exp $ */
+/* $NetBSD: bsddisklabel.c,v 1.46 2009/04/04 10:38:00 ad Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -132,6 +132,13 @@
}
strlcpy(p->pi_mount, mountpt, sizeof p->pi_mount);
p->pi_flags |= PIF_MOUNT;
+ /* Default to logging, UFS2. */
+ if (p->pi_fstype == FS_BSDFFS) {
+ p->pi_flags |= PIF_LOG;
+#ifdef __HAVE_UFS2_BOOT
+ p->pi_flags |= PIF_FFSv2;
+#endif
+ }
}
return ptn;