diff options
author | phk <phk@FreeBSD.org> | 2000-12-16 18:46:45 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-12-16 18:46:45 +0000 |
commit | fb055f99b3b41b7a3f47da83c3d8240649326f7f (patch) | |
tree | 583e62a95da5009a35e9f954f424836e46ed399d /etc | |
parent | b73769d0a6153abfd294460c3b210cd89304f05f (diff) | |
download | FreeBSD-src-fb055f99b3b41b7a3f47da83c3d8240649326f7f.zip FreeBSD-src-fb055f99b3b41b7a3f47da83c3d8240649326f7f.tar.gz |
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.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/MAKEDEV | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV index 38e724f..0c3379a 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 |