summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/install.c
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2002-01-07 12:25:30 +0000
committersheldonh <sheldonh@FreeBSD.org>2002-01-07 12:25:30 +0000
commit965738199eb5679fdfbcbb7ba2fbe3938d8c2350 (patch)
tree3e9922f566fb3bd1ba5cd24f9cb33dc19b4f1150 /usr.sbin/sade/install.c
parentc8b0697a46d3d7e14bd4d8fc94f0ca1bb54009c8 (diff)
downloadFreeBSD-src-965738199eb5679fdfbcbb7ba2fbe3938d8c2350.zip
FreeBSD-src-965738199eb5679fdfbcbb7ba2fbe3938d8c2350.tar.gz
According to jhb, the alpha bootstrap code depends on the root
filesystem using a block size of 8192. Since this seems unlikely to be fixed soon (specifically in time for 4.5-RELEASE on the RELENG_4 branch), fall back to the old default block and frag sizes of 8192 and 1024 in sysinstall on the alpha. Reported by: jhb
Diffstat (limited to 'usr.sbin/sade/install.c')
-rw-r--r--usr.sbin/sade/install.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c
index 108064f..df4f902 100644
--- a/usr.sbin/sade/install.c
+++ b/usr.sbin/sade/install.c
@@ -1121,7 +1121,11 @@ installVarDefaults(dialogMenuItem *self)
variable_set2(SYSTEM_STATE, "update", 0);
else
variable_set2(SYSTEM_STATE, "init", 0);
+#ifdef __alpha__
+ variable_set2(VAR_NEWFS_ARGS, "-b 8192 -f 1024", 0);
+#else
variable_set2(VAR_NEWFS_ARGS, "-b 16384 -f 2048", 0);
+#endif
variable_set2(VAR_CONSTERM, "NO", 0);
return DITEM_SUCCESS;
}
OpenPOWER on IntegriCloud