diff options
author | jkh <jkh@FreeBSD.org> | 2001-12-20 23:39:30 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 2001-12-20 23:39:30 +0000 |
commit | 7a0109b5c0a87d4cff83c1923789cf9c5b38126a (patch) | |
tree | d1a6cea3462093e20a6a21d18ac3011fa7f2f3eb /usr.sbin/sysinstall | |
parent | ce76580121e134a683c50883df87adf3e5c38ce6 (diff) | |
download | FreeBSD-src-7a0109b5c0a87d4cff83c1923789cf9c5b38126a.zip FreeBSD-src-7a0109b5c0a87d4cff83c1923789cf9c5b38126a.tar.gz |
Enable soft updates by default for everything but the root filesystem.
The user can still toggle it back off in the label editor (or post-install
for that matter) if they explicitly do not want soft updates to be used
for some reason.
Agreed to be a good thing by: kirk
Diffstat (limited to 'usr.sbin/sysinstall')
-rw-r--r-- | usr.sbin/sysinstall/label.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/label.c b/usr.sbin/sysinstall/label.c index 9be92b2..c9b8c8d 100644 --- a/usr.sbin/sysinstall/label.c +++ b/usr.sbin/sysinstall/label.c @@ -328,7 +328,7 @@ new_part(char *mpoint, Boolean newfs, u_long size) strcpy(ret->newfs_cmd, "newfs "); strcat(ret->newfs_cmd, variable_get(VAR_NEWFS_ARGS)); ret->newfs = newfs; - ret->soft = 0; + ret->soft = strcmp(mpoint, "/") ? 1 : 0; if (!size) return ret; return ret; |