mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-29 03:45:02 +01:00
Whoops - copy_self() was going to the wrong place!
Use proper floppy device names.
This commit is contained in:
1 parent
e6684cda7a
commit
88c97d3785
6 files changed
+18
-15
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8651
No files matched your search
@@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: devices.c,v 1.21 1995/05/20 10:33:00 jkh Exp $
|
||||
* $Id: devices.c,v 1.22 1995/05/20 14:36:39 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@@ -88,8 +88,8 @@ static struct {
|
||||
{ DEVICE_TYPE_TAPE, "wt0", "Wangtek tape drive" },
|
||||
{ DEVICE_TYPE_DISK, "sd", "SCSI disk device" },
|
||||
{ DEVICE_TYPE_DISK, "wd", "IDE/ESDI/MFM/ST506 disk device" },
|
||||
{ DEVICE_TYPE_FLOPPY, "fd0a", "Floppy disk drive (unit A)" },
|
||||
{ DEVICE_TYPE_FLOPPY, "fd1a", "Floppy disk drive (unit B)" },
|
||||
{ DEVICE_TYPE_FLOPPY, "fd0", "Floppy disk drive (unit A)" },
|
||||
{ DEVICE_TYPE_FLOPPY, "fd1", "Floppy disk drive (unit B)" },
|
||||
{ DEVICE_TYPE_NETWORK, "cuaa0", "Serial port (COM1) - possible PPP device" },
|
||||
{ DEVICE_TYPE_NETWORK, "cuaa1", "Serial port (COM2) - possible PPP device" },
|
||||
{ DEVICE_TYPE_NETWORK, "lo", "Loop-back (local) network interface" },
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: install.c,v 1.36 1995/05/20 13:24:33 jkh Exp $
|
||||
* $Id: install.c,v 1.37 1995/05/20 14:05:28 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@@ -131,6 +131,7 @@ installInitial(void)
|
||||
}
|
||||
make_filesystems();
|
||||
copy_self();
|
||||
dialog_clear();
|
||||
cpio_extract();
|
||||
alreadyDone = TRUE;
|
||||
}
|
||||
@@ -263,7 +264,7 @@ copy_self(void)
|
||||
int i;
|
||||
|
||||
msgNotify("Copying the boot floppy to /stand on root filesystem");
|
||||
i = vsystem("find -x / | cpio -pdmv /mnt/stand");
|
||||
i = vsystem("find -x / | cpio -pdmv /mnt");
|
||||
if (i)
|
||||
msgConfirm("Copy returned error status of %d!", i);
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: devices.c,v 1.21 1995/05/20 10:33:00 jkh Exp $
|
||||
* $Id: devices.c,v 1.22 1995/05/20 14:36:39 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@@ -88,8 +88,8 @@ static struct {
|
||||
{ DEVICE_TYPE_TAPE, "wt0", "Wangtek tape drive" },
|
||||
{ DEVICE_TYPE_DISK, "sd", "SCSI disk device" },
|
||||
{ DEVICE_TYPE_DISK, "wd", "IDE/ESDI/MFM/ST506 disk device" },
|
||||
{ DEVICE_TYPE_FLOPPY, "fd0a", "Floppy disk drive (unit A)" },
|
||||
{ DEVICE_TYPE_FLOPPY, "fd1a", "Floppy disk drive (unit B)" },
|
||||
{ DEVICE_TYPE_FLOPPY, "fd0", "Floppy disk drive (unit A)" },
|
||||
{ DEVICE_TYPE_FLOPPY, "fd1", "Floppy disk drive (unit B)" },
|
||||
{ DEVICE_TYPE_NETWORK, "cuaa0", "Serial port (COM1) - possible PPP device" },
|
||||
{ DEVICE_TYPE_NETWORK, "cuaa1", "Serial port (COM2) - possible PPP device" },
|
||||
{ DEVICE_TYPE_NETWORK, "lo", "Loop-back (local) network interface" },
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: install.c,v 1.36 1995/05/20 13:24:33 jkh Exp $
|
||||
* $Id: install.c,v 1.37 1995/05/20 14:05:28 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@@ -131,6 +131,7 @@ installInitial(void)
|
||||
}
|
||||
make_filesystems();
|
||||
copy_self();
|
||||
dialog_clear();
|
||||
cpio_extract();
|
||||
alreadyDone = TRUE;
|
||||
}
|
||||
@@ -263,7 +264,7 @@ copy_self(void)
|
||||
int i;
|
||||
|
||||
msgNotify("Copying the boot floppy to /stand on root filesystem");
|
||||
i = vsystem("find -x / | cpio -pdmv /mnt/stand");
|
||||
i = vsystem("find -x / | cpio -pdmv /mnt");
|
||||
if (i)
|
||||
msgConfirm("Copy returned error status of %d!", i);
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: devices.c,v 1.21 1995/05/20 10:33:00 jkh Exp $
|
||||
* $Id: devices.c,v 1.22 1995/05/20 14:36:39 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@@ -88,8 +88,8 @@ static struct {
|
||||
{ DEVICE_TYPE_TAPE, "wt0", "Wangtek tape drive" },
|
||||
{ DEVICE_TYPE_DISK, "sd", "SCSI disk device" },
|
||||
{ DEVICE_TYPE_DISK, "wd", "IDE/ESDI/MFM/ST506 disk device" },
|
||||
{ DEVICE_TYPE_FLOPPY, "fd0a", "Floppy disk drive (unit A)" },
|
||||
{ DEVICE_TYPE_FLOPPY, "fd1a", "Floppy disk drive (unit B)" },
|
||||
{ DEVICE_TYPE_FLOPPY, "fd0", "Floppy disk drive (unit A)" },
|
||||
{ DEVICE_TYPE_FLOPPY, "fd1", "Floppy disk drive (unit B)" },
|
||||
{ DEVICE_TYPE_NETWORK, "cuaa0", "Serial port (COM1) - possible PPP device" },
|
||||
{ DEVICE_TYPE_NETWORK, "cuaa1", "Serial port (COM2) - possible PPP device" },
|
||||
{ DEVICE_TYPE_NETWORK, "lo", "Loop-back (local) network interface" },
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: install.c,v 1.36 1995/05/20 13:24:33 jkh Exp $
|
||||
* $Id: install.c,v 1.37 1995/05/20 14:05:28 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@@ -131,6 +131,7 @@ installInitial(void)
|
||||
}
|
||||
make_filesystems();
|
||||
copy_self();
|
||||
dialog_clear();
|
||||
cpio_extract();
|
||||
alreadyDone = TRUE;
|
||||
}
|
||||
@@ -263,7 +264,7 @@ copy_self(void)
|
||||
int i;
|
||||
|
||||
msgNotify("Copying the boot floppy to /stand on root filesystem");
|
||||
i = vsystem("find -x / | cpio -pdmv /mnt/stand");
|
||||
i = vsystem("find -x / | cpio -pdmv /mnt");
|
||||
if (i)
|
||||
msgConfirm("Copy returned error status of %d!", i);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user