summaryrefslogtreecommitdiffstats
path: root/sys/dev/vinum
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>2002-12-13 00:27:32 +0000
committergrog <grog@FreeBSD.org>2002-12-13 00:27:32 +0000
commit5b7e5464eedd72fa029e540af642a74b4a87a604 (patch)
tree7f0d289444addad14359306b78c9f8b8a6902784 /sys/dev/vinum
parent3e61cacbd971f0c48dff4b8289ba5dd665a477f4 (diff)
downloadFreeBSD-src-5b7e5464eedd72fa029e540af642a74b4a87a604.zip
FreeBSD-src-5b7e5464eedd72fa029e540af642a74b4a87a604.tar.gz
Create raw plexes and subdisks, not the old volume-related ones. This
crept in in the transition to devfs, and caused a number of "device not configured" errors. Approved by: re (rwatson)
Diffstat (limited to 'sys/dev/vinum')
-rw-r--r--sys/dev/vinum/vinumconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/vinum/vinumconfig.c b/sys/dev/vinum/vinumconfig.c
index 743068f..e21fb79 100644
--- a/sys/dev/vinum/vinumconfig.c
+++ b/sys/dev/vinum/vinumconfig.c
@@ -1231,7 +1231,7 @@ config_subdisk(int update)
throw_rude_remark(EINVAL, "sd %s has no length spec", sd->name);
if (sd->dev == NULL)
- sd->dev = make_dev(&vinum_cdevsw, VINUMRMINOR(sdno, VINUM_SD_TYPE),
+ sd->dev = make_dev(&vinum_cdevsw, VINUMRMINOR(sdno, VINUM_RAWSD_TYPE),
UID_ROOT,
GID_WHEEL,
S_IRUSR | S_IWUSR,
@@ -1426,7 +1426,7 @@ config_plex(int update)
vinum_conf.plexes_used++; /* one more in use */
if (plex->dev == NULL)
plex->dev = make_dev(&vinum_cdevsw,
- VINUMRMINOR(plexno, VINUM_PLEX_TYPE),
+ VINUMRMINOR(plexno, VINUM_RAWPLEX_TYPE),
UID_ROOT,
GID_WHEEL,
S_IRUSR | S_IWUSR,
OpenPOWER on IntegriCloud