diff options
author | jkh <jkh@FreeBSD.org> | 1995-05-29 00:50:05 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-05-29 00:50:05 +0000 |
commit | 0fe7556fa5f2f63aa0b487fe8c761f0fe2b042b2 (patch) | |
tree | 58d029010cbf3d16628a9ceed4f7834b66424740 /usr.sbin/sysinstall/floppy.c | |
parent | 3af08455beaf843caa7977ba2b77b18a1eb5c29f (diff) | |
download | FreeBSD-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 'usr.sbin/sysinstall/floppy.c')
-rw-r--r-- | usr.sbin/sysinstall/floppy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/floppy.c b/usr.sbin/sysinstall/floppy.c index 1f97bc7..229b630 100644 --- a/usr.sbin/sysinstall/floppy.c +++ b/usr.sbin/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; |