diff options
author | gpalmer <gpalmer@FreeBSD.org> | 1995-05-21 19:29:17 +0000 |
---|---|---|
committer | gpalmer <gpalmer@FreeBSD.org> | 1995-05-21 19:29:17 +0000 |
commit | 35e9e9dbcff9251cc3d981dd2066aab708a0769d (patch) | |
tree | 610e004d4f17960f2cbce613cba98124c64a7a4c | |
parent | 2b8e37d1d223299d50fe047fe5bff0f9aafba9f9 (diff) | |
download | FreeBSD-src-35e9e9dbcff9251cc3d981dd2066aab708a0769d.zip FreeBSD-src-35e9e9dbcff9251cc3d981dd2066aab708a0769d.tar.gz |
I've just been told that I'm rooted on the hard disk at this point, not
on the boot floppy. Alter the paths to reflect this
-rw-r--r-- | release/sysinstall/media_strategy.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/release/sysinstall/media_strategy.c b/release/sysinstall/media_strategy.c index 7227e30..7e77245 100644 --- a/release/sysinstall/media_strategy.c +++ b/release/sysinstall/media_strategy.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: media_strategy.c,v 1.6 1995/05/21 17:56:13 gpalmer Exp $ + * $Id: media_strategy.c,v 1.5 1995/05/21 15:40:51 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -236,10 +236,9 @@ genericGetDist(char *path, struct attribs *dist_attrib) if (memory == (caddr_t) -1) msgFatal("mmap error: %s\n", strerror(errno)); - write(1, memory, sb.st_size); + write(1, memory, sb.st_size); munmap(memory, sb.st_size); close(fd); - close(fd); ++chunk; } } @@ -296,7 +295,7 @@ mediaGetCDROM(char *dist) dist_attr = safe_malloc(sizeof(struct attribs) * MAX_ATTRIBS); - snprintf(buf, PATH_MAX, "/mnt/stand/info/%s.inf", dist); + snprintf(buf, PATH_MAX, "/stand/info/%s.inf", dist); if (attr_parse(&dist_attr, buf) == 0) { msgConfirm("Cannot load information file for distribution\n"); @@ -337,7 +336,7 @@ mediaGetFloppy(char *dist) dist_attr = safe_malloc(sizeof(struct attribs) * MAX_ATTRIBS); - snprintf(buf, PATH_MAX, "/mnt/stand/info/%s.inf", dist); + snprintf(buf, PATH_MAX, "/stand/info/%s.inf", dist); if (attr_parse(&dist_attr, buf) == 0) { msgConfirm("Cannot load information file for distribution\n"); |