summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/floppy.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-05-29 00:50:05 +0000
committerjkh <jkh@FreeBSD.org>1995-05-29 00:50:05 +0000
commit0fe7556fa5f2f63aa0b487fe8c761f0fe2b042b2 (patch)
tree58d029010cbf3d16628a9ceed4f7834b66424740 /release/sysinstall/floppy.c
parent3af08455beaf843caa7977ba2b77b18a1eb5c29f (diff)
downloadFreeBSD-src-0fe7556fa5f2f63aa0b487fe8c761f0fe2b042b2.zip
FreeBSD-src-0fe7556fa5f2f63aa0b487fe8c761f0fe2b042b2.tar.gz
Shrink the boot floppy by removing all extraneous stuff. Also increase
number of inodes. Fix various bugs reported by Poul. Implement VTY switching.
Diffstat (limited to 'release/sysinstall/floppy.c')
-rw-r--r--release/sysinstall/floppy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/sysinstall/floppy.c b/release/sysinstall/floppy.c
index 1f97bc7..229b630 100644
--- a/release/sysinstall/floppy.c
+++ b/release/sysinstall/floppy.c
@@ -4,7 +4,7 @@
* This is probably the last attempt in the `sysinstall' line, the next
* generation being slated to essentially a complete rewrite.
*
- * $Id: floppy.c,v 1.2 1995/05/27 23:39:29 phk Exp $
+ * $Id: floppy.c,v 1.3 1995/05/28 03:04:56 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -150,7 +150,7 @@ void
mediaShutdownFloppy(Device *dev)
{
if (floppyMounted) {
- if (vsystem("umount /mnt") != 0)
+ if (unmount("/mnt", 0) != 0)
msgDebug("Umount of floppy on /mnt failed: %s (%d)\n", strerror(errno), errno);
else {
floppyMounted = FALSE;
OpenPOWER on IntegriCloud