From ae1abfb706a6d5614ec0e81bd8df48b1cbfeabfa Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sat, 16 Dec 2000 18:46:45 +0000 Subject: [PATCH] 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. --- etc/MAKEDEV | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/etc/MAKEDEV b/etc/MAKEDEV index 38e724fc2e9..0c3379aabc0 100644 --- a/etc/MAKEDEV +++ b/etc/MAKEDEV @@ -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