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:
phk 2000-12-16 18:46:45 +00:00
parent b73769d0a6
commit fb055f99b3

View File

@ -609,6 +609,12 @@ aacd*|ad*|ar*|afd*|amrd*|da*|fla*|idad*|md*|mlxd*|twed*|vn*|wd*|wfd*)
do do
sh MAKEDEV $name$unit$slicepartname sh MAKEDEV $name$unit$slicepartname
done 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 echo bad unit for disk in: $i