diff options
author | jkh <jkh@FreeBSD.org> | 1995-05-07 23:37:34 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-05-07 23:37:34 +0000 |
commit | 01c872638ff0b1ecd62eb5b6f8af71dfd05ae205 (patch) | |
tree | 593222abd07587a9e7c14c8a8b715068dcd3757b /usr.sbin/sade/install.c | |
parent | 8a8b9e96e60149210d03a8c01f441f6db78607e3 (diff) | |
download | FreeBSD-src-01c872638ff0b1ecd62eb5b6f8af71dfd05ae205.zip FreeBSD-src-01c872638ff0b1ecd62eb5b6f8af71dfd05ae205.tar.gz |
Another sync up for Poul. Added a lot more error checking.
Diffstat (limited to 'usr.sbin/sade/install.c')
-rw-r--r-- | usr.sbin/sade/install.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c index 8ec4bb3..a96a3ee 100644 --- a/usr.sbin/sade/install.c +++ b/usr.sbin/sade/install.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: install.c,v 1.8 1995/05/05 23:47:40 jkh Exp $ + * $Id: install.c,v 1.9 1995/05/06 09:34:18 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -167,8 +167,10 @@ make_filesystems(struct disk **disks) struct chunk *c2 = c1->part; while (c2) { - if (c2->type == part && c2->subtype != FS_SWAP) - vsystem("newfs %s", c2->name); + if (c2->type == part && c2->subtype != FS_SWAP && + c2->private && ((PartInfo *)c2->private)->newfs) + vsystem("%s %s", ((PartInfo *)c2->private)->newfs_cmd, + c2->name); c2 = c2->next; } } @@ -180,6 +182,7 @@ make_filesystems(struct disk **disks) void cpio_extract(struct disk **disks) { + } void |