summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/create_chunk.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1998-01-16 12:50:36 +0000
committerjkh <jkh@FreeBSD.org>1998-01-16 12:50:36 +0000
commit629cdf3415aec4bf9e195b86642aa651557b1b7c (patch)
tree3c2da24ff837b725a24e5375914c8769e63900e1 /lib/libdisk/create_chunk.c
parent008db71717ff4af7e08634a7b94d2b3ad626ea20 (diff)
downloadFreeBSD-src-629cdf3415aec4bf9e195b86642aa651557b1b7c.zip
FreeBSD-src-629cdf3415aec4bf9e195b86642aa651557b1b7c.tar.gz
Non-intrusive changes to support Justin's CAM stuff.
Diffstat (limited to 'lib/libdisk/create_chunk.c')
-rw-r--r--lib/libdisk/create_chunk.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libdisk/create_chunk.c b/lib/libdisk/create_chunk.c
index 83fa345..f8f7a21 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$
+ * $Id: create_chunk.c,v 1.27 1997/02/22 15:06:31 peter 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, "da", 2)) /* CAM support */
+ bmaj = 4, cmaj = 13;
else {
return 0;
}
OpenPOWER on IntegriCloud