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
This commit is contained in:
Jordan K. Hubbard 2001-12-20 23:39:30 +00:00
parent 3c2a5d7e30
commit f3c7fb1696
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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;