diff options
author | phk <phk@FreeBSD.org> | 1995-02-02 05:35:36 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-02-02 05:35:36 +0000 |
commit | 28e440fd71a3e10049c496984f2c3f1c20d56fe6 (patch) | |
tree | 9fe97076e7c350765b3b9e72eecc9494d220ea2d /sbin | |
parent | a8a1937a5a7250d7b099714066f1d75006c386be (diff) | |
download | FreeBSD-src-28e440fd71a3e10049c496984f2c3f1c20d56fe6.zip FreeBSD-src-28e440fd71a3e10049c496984f2c3f1c20d56fe6.tar.gz |
Make dirs for msdos fs's.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/sysinstall/stage2.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sbin/sysinstall/stage2.c b/sbin/sysinstall/stage2.c index b801c29..1735f29 100644 --- a/sbin/sysinstall/stage2.c +++ b/sbin/sysinstall/stage2.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: stage2.c,v 1.21 1995/01/14 10:31:21 jkh Exp $ + * $Id: stage2.c,v 1.22 1995/01/30 03:19:54 phk Exp $ * */ @@ -72,14 +72,18 @@ stage2() } for (j = 1; Fsize[j]; j++) { - if (strcmp(Ftype[Fsize[j]], "ufs")) + if (!strcmp(Ftype[Fsize[j]], "swap")) continue; strcpy(dbuf, "/mnt"); p = Fname[Fsize[j]]; q = Fmount[Fsize[j]]; if (strcmp(q, "/")) strcat(dbuf, q); - MountUfs(p, dbuf, 1, 0); + if (!strcmp(Ftype[Fsize[j]], "ufs")) { + MountUfs(p, dbuf, 1, 0); + continue; + } + Mkdir(dbuf); } Mkdir("/mnt/etc", TRUE); |