Misc cpio evil. I think I'm going to start working locally and just deal
with the diff/CVS hassles - this represents far too many CVS commit messages for you folks, and trying to document each and every iteration of the code is a hassle (and not very useful at that).
This commit is contained in:
parent
f00e58217f
commit
806de24554
@ -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.23 1995/05/20 15:47:18 jkh Exp $
|
||||
* $Id: devices.c,v 1.24 1995/05/20 15:49:53 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -130,7 +130,7 @@ deviceTry(char *name, char *try)
|
||||
if (fd > 0)
|
||||
return fd;
|
||||
snprintf(try, FILENAME_MAX, "/mnt/dev/%s", name);
|
||||
fd = open(try, O_RDONLY);
|
||||
fd = open(try, O_RDWR);
|
||||
return fd;
|
||||
}
|
||||
|
||||
@ -226,7 +226,7 @@ deviceGetAll(void)
|
||||
close(fd);
|
||||
deviceRegister(device_names[i].name, device_names[i].description, strdup(try),
|
||||
DEVICE_TYPE_FLOPPY, TRUE, mediaInitFloppy, mediaGetFloppy, mediaCloseFloppy, NULL);
|
||||
msgDebug("Found a device of type TAPE named: %s\n", device_names[i].name);
|
||||
msgDebug("Found a device of type floppy named: %s\n", device_names[i].name);
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -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.37 1995/05/20 14:05:28 jkh Exp $
|
||||
* $Id: install.c,v 1.38 1995/05/20 15:47:19 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -277,7 +277,7 @@ cpio_extract(void)
|
||||
tryagain:
|
||||
while (CpioFD == -1) {
|
||||
msgConfirm("Please Insert CPIO floppy in floppy drive 0");
|
||||
CpioFD = open("/dev/rfd0", O_RDONLY);
|
||||
CpioFD = open("/dev/rfd0", O_RDWR);
|
||||
if (CpioFD >= 0)
|
||||
break;
|
||||
msgDebug("Error on open of cpio floppy: %s (%d)\n", strerror(errno), errno);
|
||||
|
@ -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.23 1995/05/20 15:47:18 jkh Exp $
|
||||
* $Id: devices.c,v 1.24 1995/05/20 15:49:53 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -130,7 +130,7 @@ deviceTry(char *name, char *try)
|
||||
if (fd > 0)
|
||||
return fd;
|
||||
snprintf(try, FILENAME_MAX, "/mnt/dev/%s", name);
|
||||
fd = open(try, O_RDONLY);
|
||||
fd = open(try, O_RDWR);
|
||||
return fd;
|
||||
}
|
||||
|
||||
@ -226,7 +226,7 @@ deviceGetAll(void)
|
||||
close(fd);
|
||||
deviceRegister(device_names[i].name, device_names[i].description, strdup(try),
|
||||
DEVICE_TYPE_FLOPPY, TRUE, mediaInitFloppy, mediaGetFloppy, mediaCloseFloppy, NULL);
|
||||
msgDebug("Found a device of type TAPE named: %s\n", device_names[i].name);
|
||||
msgDebug("Found a device of type floppy named: %s\n", device_names[i].name);
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -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.37 1995/05/20 14:05:28 jkh Exp $
|
||||
* $Id: install.c,v 1.38 1995/05/20 15:47:19 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -277,7 +277,7 @@ cpio_extract(void)
|
||||
tryagain:
|
||||
while (CpioFD == -1) {
|
||||
msgConfirm("Please Insert CPIO floppy in floppy drive 0");
|
||||
CpioFD = open("/dev/rfd0", O_RDONLY);
|
||||
CpioFD = open("/dev/rfd0", O_RDWR);
|
||||
if (CpioFD >= 0)
|
||||
break;
|
||||
msgDebug("Error on open of cpio floppy: %s (%d)\n", strerror(errno), errno);
|
||||
|
@ -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.23 1995/05/20 15:47:18 jkh Exp $
|
||||
* $Id: devices.c,v 1.24 1995/05/20 15:49:53 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -130,7 +130,7 @@ deviceTry(char *name, char *try)
|
||||
if (fd > 0)
|
||||
return fd;
|
||||
snprintf(try, FILENAME_MAX, "/mnt/dev/%s", name);
|
||||
fd = open(try, O_RDONLY);
|
||||
fd = open(try, O_RDWR);
|
||||
return fd;
|
||||
}
|
||||
|
||||
@ -226,7 +226,7 @@ deviceGetAll(void)
|
||||
close(fd);
|
||||
deviceRegister(device_names[i].name, device_names[i].description, strdup(try),
|
||||
DEVICE_TYPE_FLOPPY, TRUE, mediaInitFloppy, mediaGetFloppy, mediaCloseFloppy, NULL);
|
||||
msgDebug("Found a device of type TAPE named: %s\n", device_names[i].name);
|
||||
msgDebug("Found a device of type floppy named: %s\n", device_names[i].name);
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -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.37 1995/05/20 14:05:28 jkh Exp $
|
||||
* $Id: install.c,v 1.38 1995/05/20 15:47:19 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -277,7 +277,7 @@ cpio_extract(void)
|
||||
tryagain:
|
||||
while (CpioFD == -1) {
|
||||
msgConfirm("Please Insert CPIO floppy in floppy drive 0");
|
||||
CpioFD = open("/dev/rfd0", O_RDONLY);
|
||||
CpioFD = open("/dev/rfd0", O_RDWR);
|
||||
if (CpioFD >= 0)
|
||||
break;
|
||||
msgDebug("Error on open of cpio floppy: %s (%d)\n", strerror(errno), errno);
|
||||
|
Loading…
x
Reference in New Issue
Block a user