Create the vn%d.ctl devices.

In a few days I will commit a patch which changes vn(4) to use the
disk-minilayer.  This will make vn(4) fully DEVFS friendly but have
the side effect that vnconfig needs the vn%d.ctl devices to be able
to configure vn(4).

Please remake your /dev/vn entries with this revision of MAKEDEV if
you don't rung DEVFS already.
This commit is contained in:
Poul-Henning Kamp 2000-12-16 18:46:45 +00:00
parent 0b5f90af27
commit ae1abfb706
1 changed files with 6 additions and 0 deletions

View File

@ -609,6 +609,12 @@ aacd*|ad*|ar*|afd*|amrd*|da*|fla*|idad*|md*|mlxd*|twed*|vn*|wd*|wfd*)
do
sh MAKEDEV $name$unit$slicepartname
done
if [ "x$name" = "xvn" ] ; then
# We need to control device so we can configure
# the vn disks with vnconfig
mknod $name$unit.ctl c \
$chr `expr $unit '*' 8 + 33554432` root:operator
fi
;;
*)
echo bad unit for disk in: $i