You want to be in /mnt when extracting the cpio floppy, not in the read

only root filesystem.....
This commit is contained in:
Gary Palmer 1995-05-19 01:49:57 +00:00
parent aff014ff20
commit 9675b32c2f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8620
3 changed files with 6 additions and 3 deletions

View file

@ -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.27 1995/05/18 21:58:33 phk Exp $
* $Id: install.c,v 1.28 1995/05/18 22:00:01 phk Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -255,6 +255,7 @@ cpio_extract(void)
close(CpioFD);
close(pfd[1]);
close(1); open("/dev/null", O_WRONLY);
chdir("/mnt");
i = execl("/stand/cpio", "/stand/cpio", "-iduvm", 0);
msgDebug("/stand/cpio command returns %d status\n", i);
exit(i);

View file

@ -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.27 1995/05/18 21:58:33 phk Exp $
* $Id: install.c,v 1.28 1995/05/18 22:00:01 phk Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -255,6 +255,7 @@ cpio_extract(void)
close(CpioFD);
close(pfd[1]);
close(1); open("/dev/null", O_WRONLY);
chdir("/mnt");
i = execl("/stand/cpio", "/stand/cpio", "-iduvm", 0);
msgDebug("/stand/cpio command returns %d status\n", i);
exit(i);

View file

@ -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.27 1995/05/18 21:58:33 phk Exp $
* $Id: install.c,v 1.28 1995/05/18 22:00:01 phk Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -255,6 +255,7 @@ cpio_extract(void)
close(CpioFD);
close(pfd[1]);
close(1); open("/dev/null", O_WRONLY);
chdir("/mnt");
i = execl("/stand/cpio", "/stand/cpio", "-iduvm", 0);
msgDebug("/stand/cpio command returns %d status\n", i);
exit(i);