diff options
author | grog <grog@FreeBSD.org> | 2000-04-06 07:25:35 +0000 |
---|---|---|
committer | grog <grog@FreeBSD.org> | 2000-04-06 07:25:35 +0000 |
commit | 31f0f935ef6f942c13c427503062a6cc55831963 (patch) | |
tree | 6d955aa15ec591a3edc3b8729a92757f927f3d0e /sys | |
parent | 844f06daa5f5277ba886604e9580938b5dc7e67e (diff) | |
download | FreeBSD-src-31f0f935ef6f942c13c427503062a6cc55831963.zip FreeBSD-src-31f0f935ef6f942c13c427503062a6cc55831963.tar.gz |
open_drive: Add kludges for vn and md.
Submitted-by: dillon (vn)
Requested-by: phk (md)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/vinum/vinumio.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/vinum/vinumio.c b/sys/dev/vinum/vinumio.c index b1de69a..ee662d1 100644 --- a/sys/dev/vinum/vinumio.c +++ b/sys/dev/vinum/vinumio.c @@ -77,6 +77,10 @@ open_drive(struct drive *drive, struct proc *p, int verbose) devmajor = 116; else if (bcmp(dname, "da", 2) == 0) devmajor = 13; + else if (bcmp(dname, "vn", 2) == 0) + devmajor = 43; + else if (bcmp(dname, "md", 2) == 0) + devmajor = 95; else return ENODEV; dname += 2; /* point past */ |