summaryrefslogtreecommitdiffstats
path: root/lib/libdisk
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1998-03-20 23:43:04 +0000
committerjkh <jkh@FreeBSD.org>1998-03-20 23:43:04 +0000
commit7561a961836c21b2269101ac2698772ce9d75d71 (patch)
treec29137cfdcfa53d0d36c42c991f324f4345e0e08 /lib/libdisk
parentb36c7cab568fd3408aa97decdc6c81a261d48647 (diff)
downloadFreeBSD-src-7561a961836c21b2269101ac2698772ce9d75d71.zip
FreeBSD-src-7561a961836c21b2269101ac2698772ce9d75d71.tar.gz
MF22: teach about LS-120 devices.
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 646c829..10ce2e0 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.28 1998/01/16 12:50:36 jkh Exp $
+ * $Id: create_chunk.c,v 1.29 1998/02/10 17:19:12 jkh Exp $
*
*/
@@ -259,6 +259,8 @@ MakeDev(struct chunk *c1, const char *path)
bmaj = 4, cmaj = 13;
else if (!strncmp(p, "od", 2))
bmaj = 20, cmaj = 70;
+ else if (!strncmp(p, "wfd", 3))
+ bmaj = 1, cmaj = 87;
else if (!strncmp(p, "da", 2)) /* CAM support */
bmaj = 4, cmaj = 13;
else {
diff --git a/lib/libdisk/disk.c b/lib/libdisk/disk.c
index 7f73979..a98be1a 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.30 1998/03/07 08:45:46 ache Exp $
+ * $Id: disk.c,v 1.31 1998/03/14 21:14:31 ache Exp $
*
*/
@@ -289,7 +289,7 @@ Collapse_Disk(struct disk *d)
}
#endif
-static char * device_list[] = {"wd","sd","da","od",0};
+static char * device_list[] = {"wd","sd","da","od","wfd",0};
char **
Disk_Names()
OpenPOWER on IntegriCloud