summaryrefslogtreecommitdiffstats
path: root/lib/libdisk
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-12-13 07:55:14 +0000
committerjkh <jkh@FreeBSD.org>1996-12-13 07:55:14 +0000
commit0e16e2c15f911900b1a5cae39f824a28ea411d43 (patch)
treeace002c6ad7b48125631f2f32c226c07895e7daa /lib/libdisk
parente0f6f49854be479536476c61607a4fcfdbe22718 (diff)
downloadFreeBSD-src-0e16e2c15f911900b1a5cae39f824a28ea411d43.zip
FreeBSD-src-0e16e2c15f911900b1a5cae39f824a28ea411d43.tar.gz
Close PR#2198:
I've added an installation from optical disk drive facility. This enables FreeBSD to be installed from an optical disk, which may be formatted in "super floppy" style or sliced into MSDOS-FS and UFS partitions. Note: ncr.c should be reviewed by Stefan Esser <se@freebsd.org> and cd.c by Joerg Wunsch <joerg@freebsd.org> before bringing this into 2.2. Submitted-By: Shunsuke Akiyama <akiyama@kme.mei.co.jp>
Diffstat (limited to 'lib/libdisk')
-rw-r--r--lib/libdisk/create_chunk.c4
-rw-r--r--lib/libdisk/disk.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/lib/libdisk/create_chunk.c b/lib/libdisk/create_chunk.c
index 32d8012..3c1eff7 100644
--- a/lib/libdisk/create_chunk.c
+++ b/lib/libdisk/create_chunk.c
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: create_chunk.c,v 1.23 1996/03/24 18:55:37 joerg Exp $
+ * $Id: create_chunk.c,v 1.24 1996/04/29 05:03:01 jkh Exp $
*
*/
@@ -257,6 +257,8 @@ MakeDev(struct chunk *c1, const char *path)
bmaj = 0, cmaj = 3;
else if (!strncmp(p, "sd", 2))
bmaj = 4, cmaj = 13;
+ else if (!strncmp(p, "od", 2))
+ bmaj = 20, cmaj = 70;
else {
return 0;
}
diff --git a/lib/libdisk/disk.c b/lib/libdisk/disk.c
index 0565d2c..990fca5 100644
--- a/lib/libdisk/disk.c
+++ b/lib/libdisk/disk.c
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: disk.c,v 1.22 1996/04/29 05:03:02 jkh Exp $
+ * $Id: disk.c,v 1.23 1996/11/27 22:44:33 phk Exp $
*
*/
@@ -285,7 +285,7 @@ Collapse_Disk(struct disk *d)
}
#endif
-static char * device_list[] = {"wd","sd",0};
+static char * device_list[] = {"wd","sd","od",0};
char **
Disk_Names()
OpenPOWER on IntegriCloud