summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-05-11 06:47:46 +0000
committerjkh <jkh@FreeBSD.org>1995-05-11 06:47:46 +0000
commit2def66e1a63ae8389f106919e679c4e122e97e54 (patch)
treeee506bcf3f74c1f7cbc98f872a866e23ecf4f3c3 /release
parent2a0c84215da0c49fb3d6208d0f1eb6a2da0a5154 (diff)
downloadFreeBSD-src-2def66e1a63ae8389f106919e679c4e122e97e54.zip
FreeBSD-src-2def66e1a63ae8389f106919e679c4e122e97e54.tar.gz
Clean this up a bit - add more documentation to the documentation menu.
Diffstat (limited to 'release')
-rw-r--r--release/sysinstall/devices.c5
-rw-r--r--release/sysinstall/install.c3
-rw-r--r--release/sysinstall/menus.c8
3 files changed, 11 insertions, 5 deletions
diff --git a/release/sysinstall/devices.c b/release/sysinstall/devices.c
index 6506585..c1f4b94 100644
--- a/release/sysinstall/devices.c
+++ b/release/sysinstall/devices.c
@@ -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.12 1995/05/08 21:39:33 jkh Exp $
+ * $Id: devices.c,v 1.13 1995/05/11 06:10:45 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -42,6 +42,7 @@
*/
#include "sysinstall.h"
+#include <sys/fcntl.h>
#include <ctype.h>
/* Where we start displaying chunk information on the screen */
@@ -83,7 +84,7 @@ device_get_all(DeviceType which, int *ndevs)
for (i = 0; cdrom_table[i]; i++) {
snprintf(try, FILENAME_MAX, "/mnt/dev/%s", cdrom_table[i]);
- fd = open(try);
+ fd = open(try, O_RDWR);
if (fd > 0) {
close(fd);
devs = safe_realloc(devs, sizeof(Device) * (*ndevs + 2));
diff --git a/release/sysinstall/install.c b/release/sysinstall/install.c
index fcd4dea..d86412c 100644
--- a/release/sysinstall/install.c
+++ b/release/sysinstall/install.c
@@ -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.13 1995/05/08 21:39:37 jkh Exp $
+ * $Id: install.c,v 1.14 1995/05/11 06:10:51 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -207,6 +207,7 @@ void
cpio_extract(void)
{
int i, j, zpid, cpid, pfd[2];
+ extern int wait(int *status);
while (CpioFD == -1) {
msgConfirm("Please Insert CPIO floppy in floppy drive 0");
diff --git a/release/sysinstall/menus.c b/release/sysinstall/menus.c
index d3bbdb2..40093ee 100644
--- a/release/sysinstall/menus.c
+++ b/release/sysinstall/menus.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: menus.c,v 1.10 1995/05/10 07:44:59 jkh Exp $
+ * $Id: menus.c,v 1.11 1995/05/11 06:10:54 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -98,11 +98,15 @@ answers in the FAQ.",
"Confused? Press F1 for help.",
"usage.hlp", /* help file */
{ { "README", "Read this for a general description of FreeBSD", /* R */
- DMENU_DISPLAY_FILE, (void *)"readme.hlp", 0, 0 },
+ DMENU_DISPLAY_FILE, (void *)"README", 0, 0 },
{ "Hardware", "The FreeBSD survival guide for PC hardware.", /* H */
DMENU_DISPLAY_FILE, (void *)"hardware.hlp", 0, 0 },
{ "Install", "A step-by-step guide to installing FreeBSD.", /* I */
DMENU_DISPLAY_FILE, (void *)"install.hlp", 0, 0 },
+ { "Copyright", "The FreeBSD Copyright notices.", /* C */
+ DMENU_DISPLAY_FILE, (void *)"COPYRIGHT", 0, 0 },
+ { "Release", "The release notes for this version of FreeBSD.", /* R */
+ DMENU_DISPLAY_FILE, (void *)"COPYRIGHT", 0, 0 },
{ "FAQ", "Frequently Asked Questions about FreeBSD.", /* F */
DMENU_DISPLAY_FILE, (void *)"faq.hlp", 0, 0 },
{ NULL } },
OpenPOWER on IntegriCloud