diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2000-12-16 18:46:45 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2000-12-16 18:46:45 +0000 |
commit | ae1abfb706a6d5614ec0e81bd8df48b1cbfeabfa (patch) | |
tree | bbfaf51760c39b0ae9edf9a9afc9fe15adecd3f8 /etc/MAKEDEV | |
parent | 0b5f90af275065c6a2e0d8f42cbbb5b30ffcc484 (diff) | |
download | src-ae1abfb706a6d5614ec0e81bd8df48b1cbfeabfa.tar.gz src-ae1abfb706a6d5614ec0e81bd8df48b1cbfeabfa.zip |
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.
Notes
Notes:
svn path=/head/; revision=70101
Diffstat (limited to 'etc/MAKEDEV')
-rw-r--r-- | etc/MAKEDEV | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV index 38e724fc2e9a..0c3379aabc0f 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 |