Lines 104-110
main(int argc, char **argv)
Link Here
|
104 |
bool detach, softdep, autounit, newfs; |
104 |
bool detach, softdep, autounit, newfs; |
105 |
const char *mtpoint, *size_arg, *skel, *unitstr; |
105 |
const char *mtpoint, *size_arg, *skel, *unitstr; |
106 |
char *p; |
106 |
char *p; |
107 |
int ch, idx; |
107 |
int ch, idx, rv; |
108 |
void *set; |
108 |
void *set; |
109 |
unsigned long ul; |
109 |
unsigned long ul; |
110 |
|
110 |
|
Lines 357-362
main(int argc, char **argv)
Link Here
|
357 |
do_mdconfig_attach(mdconfig_arg, mdtype); |
357 |
do_mdconfig_attach(mdconfig_arg, mdtype); |
358 |
if (newfs) |
358 |
if (newfs) |
359 |
do_newfs(newfs_arg); |
359 |
do_newfs(newfs_arg); |
|
|
360 |
if (!softdep) { |
361 |
rv = run(NULL, "%s %s /dev/%s%d", _PATH_TUNEFS, |
362 |
"-n disable", mdname, unit); |
363 |
if (rv) |
364 |
errx(1, "tunefs exited %s %d", run_exitstr(rv), |
365 |
run_exitnumber(rv)); |
366 |
} |
360 |
do_mount_md(mount_arg, mtpoint); |
367 |
do_mount_md(mount_arg, mtpoint); |
361 |
} |
368 |
} |
362 |
|
369 |
|