diff options
author | jkh <jkh@FreeBSD.org> | 1997-03-12 02:31:28 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1997-03-12 02:31:28 +0000 |
commit | 60a737d455785d011610bfb6cb4d906d67df7341 (patch) | |
tree | a6ec97dca793cce0ecbb09a33ea9af3857fcb3fe /usr.sbin/sysinstall | |
parent | 81a258ae1552ccee83477e9a8b67c142db192abd (diff) | |
download | FreeBSD-src-60a737d455785d011610bfb6cb4d906d67df7341.zip FreeBSD-src-60a737d455785d011610bfb6cb4d906d67df7341.tar.gz |
Tidy up generated fstab
Diffstat (limited to 'usr.sbin/sysinstall')
-rw-r--r-- | usr.sbin/sysinstall/config.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/usr.sbin/sysinstall/config.c b/usr.sbin/sysinstall/config.c index ccf21a5..f551a18 100644 --- a/usr.sbin/sysinstall/config.c +++ b/usr.sbin/sysinstall/config.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: config.c,v 1.84 1997/03/08 12:57:40 jkh Exp $ + * $Id: config.c,v 1.85 1997/03/09 22:25:42 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -231,13 +231,12 @@ configFstab(void) /* Go for the burn */ msgDebug("Generating /etc/fstab file\n"); - fprintf(fstab, "# Device\t\tMountpoint\tFStype\tOptions\t\tDump?\tfsck pass#\n"); - fprintf(fstab, "#\t\t\t\t\t\t\t\t\t(0=no) (0=no fsck)\n"); + fprintf(fstab, "# Device\t\tMountpoint\tFStype\tOptions\t\tDump\tPass#\n"); for (i = 0; i < nchunks; i++) fprintf(fstab, "/dev/%s\t\t%s\t\t%s\t%s\t\t%d\t%d\n", name_of(chunk_list[i]), mount_point(chunk_list[i]), fstype(chunk_list[i]), fstype_short(chunk_list[i]), seq_num(chunk_list[i]), seq_num(chunk_list[i])); Mkdir("/proc"); - fprintf(fstab, "proc\t\t\t/proc\t\tprocfs\t\trw\t0\t0\n"); + fprintf(fstab, "proc\t\t\t/proc\t\tprocfs\trw\t\t0\t0\n"); /* Now look for the CDROMs */ devs = deviceFind(NULL, DEVICE_TYPE_CDROM); @@ -249,7 +248,7 @@ configFstab(void) msgConfirm("Unable to make mount point for: /cdrom"); } else - fprintf(fstab, "/dev/%s\t\t/cdrom\t\tcd9660\t\tro,noauto\t0\t0\n", devs[0]->name); + fprintf(fstab, "/dev/%s\t\t/cdrom\t\tcd9660\tro,noauto\t0\t0\n", devs[0]->name); } /* Write the others out as /cdrom<n> */ @@ -261,7 +260,7 @@ configFstab(void) msgConfirm("Unable to make mount point for: %s", cdname); } else - fprintf(fstab, "/dev/%s\t\t%s\tcd9660\t\tro,noauto\t0\t0\n", devs[i]->name, cdname); + fprintf(fstab, "/dev/%s\t\t%s\tcd9660\tro,noauto\t0\t0\n", devs[i]->name, cdname); } fclose(fstab); if (isDebug()) |