diff options
author | grog <grog@FreeBSD.org> | 2002-12-13 00:27:32 +0000 |
---|---|---|
committer | grog <grog@FreeBSD.org> | 2002-12-13 00:27:32 +0000 |
commit | 5b7e5464eedd72fa029e540af642a74b4a87a604 (patch) | |
tree | 7f0d289444addad14359306b78c9f8b8a6902784 | |
parent | 3e61cacbd971f0c48dff4b8289ba5dd665a477f4 (diff) | |
download | FreeBSD-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)
-rw-r--r-- | sys/dev/vinum/vinumconfig.c | 4 |
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, |