summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-01-20 19:36:31 +0000
committerjkh <jkh@FreeBSD.org>1997-01-20 19:36:31 +0000
commit45fb17ad744824b73bef83557a44646b4b313d72 (patch)
tree138073ddbf64d083f49c4896bd706703bd4588af /release
parent1a443b32109a155b8b3cdef441dfb795a0fb907e (diff)
downloadFreeBSD-src-45fb17ad744824b73bef83557a44646b4b313d72.zip
FreeBSD-src-45fb17ad744824b73bef83557a44646b4b313d72.tar.gz
A couple of cosmetic tweaks to tape install method and fstab file format.
Submitted-By: Flemming Jacobsen <fj@schizo.dk.tfs.com>
Diffstat (limited to 'release')
-rw-r--r--release/sysinstall/config.c10
-rw-r--r--release/sysinstall/tape.c2
2 files changed, 7 insertions, 5 deletions
diff --git a/release/sysinstall/config.c b/release/sysinstall/config.c
index e9e411f..3554285 100644
--- a/release/sysinstall/config.c
+++ b/release/sysinstall/config.c
@@ -231,11 +231,13 @@ 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");
for (i = 0; i < nchunks; i++)
- fprintf(fstab, "/dev/%s\t\t\t%s\t\t%s\t%s %d %d\n", name_of(chunk_list[i]), mount_point(chunk_list[i]),
+ fprintf(fstab, "/dev/%s\t\t%s\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\t/proc\t\tprocfs\trw 0 0\n");
+ fprintf(fstab, "proc\t\t/proc\tprocfs\t\trw\t0\t0\n");
/* Now look for the CDROMs */
devs = deviceFind(NULL, DEVICE_TYPE_CDROM);
@@ -247,7 +249,7 @@ configFstab(void)
msgConfirm("Unable to make mount point for: /cdrom");
}
else
- fprintf(fstab, "/dev/%s\t\t\t/cdrom\t\tcd9660\tro,noauto 0 0\n", devs[0]->name);
+ fprintf(fstab, "/dev/%s\t\t/cdrom\tcd9660\t\tro,noauto\t0\t0\n", devs[0]->name);
}
/* Write the others out as /cdrom<n> */
@@ -259,7 +261,7 @@ configFstab(void)
msgConfirm("Unable to make mount point for: %s", cdname);
}
else
- fprintf(fstab, "/dev/%s\t\t\t%s\t\tcd9660\tro,noauto 0 0\n", devs[i]->name, cdname);
+ fprintf(fstab, "/dev/%s\t\t%s\tcd9660\t\tro,noauto\t0\t0\n", devs[i]->name, cdname);
}
fclose(fstab);
if (isDebug())
diff --git a/release/sysinstall/tape.c b/release/sysinstall/tape.c
index 31c99dd..94bb6ea 100644
--- a/release/sysinstall/tape.c
+++ b/release/sysinstall/tape.c
@@ -65,7 +65,7 @@ mediaInitTape(Device *dev)
return FALSE;
}
/* We know the tape is already in the drive, so go for it */
- msgNotify("Attempting to extract from %s...", dev->description);
+ msgNotify("Extracting distributions from %s...", dev->description);
if (!strcmp(dev->name, "rft0"))
i = vsystem("ft | cpio -idum %s --block-size %s", cpioVerbosity(), mediaTapeBlocksize());
else
OpenPOWER on IntegriCloud