summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/label.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2003-04-21 20:57:20 +0000
committerrwatson <rwatson@FreeBSD.org>2003-04-21 20:57:20 +0000
commit43a755fbe6156b2c133489998d9a8764302d61a8 (patch)
treee49316742d0280541dc8037d97eb38b81cf219f2 /usr.sbin/sade/label.c
parent957f9f42023eee8afdb35e014a612a0dacd3d1fa (diff)
downloadFreeBSD-src-43a755fbe6156b2c133489998d9a8764302d61a8.zip
FreeBSD-src-43a755fbe6156b2c133489998d9a8764302d61a8.tar.gz
Don't use UFS2 by default during the install process on PC98, as the
PC98 boot blocks don't support UFS2. We keep newfs(8) defaulting to UFS2. Warn users that FreeBSD can only boot from a root file system smaller than 1.5TB; hopefully this will get fixed by the patches currently floating around on -CURRENT. Reviewed by: nyan
Diffstat (limited to 'usr.sbin/sade/label.c')
-rw-r--r--usr.sbin/sade/label.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/sade/label.c b/usr.sbin/sade/label.c
index e2ff08c..798fb5f 100644
--- a/usr.sbin/sade/label.c
+++ b/usr.sbin/sade/label.c
@@ -337,7 +337,11 @@ new_part(char *mpoint, Boolean newfs)
pi->newfs_data.newfs_ufs.acls = FALSE;
pi->newfs_data.newfs_ufs.multilabel = FALSE;
pi->newfs_data.newfs_ufs.softupdates = strcmp(mpoint, "/");
+#ifdef PC98
+ pi->newfs_data.newfs_ufs.ufs1 = TRUE;
+#else
pi->newfs_data.newfs_ufs.ufs1 = FALSE;
+#endif
return pi;
}
OpenPOWER on IntegriCloud