aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>1999-12-29 01:11:29 +0000
committerMike Smith <msmith@FreeBSD.org>1999-12-29 01:11:29 +0000
commit184a6f3512e3b041a501258aac94fcaa77b2af2b (patch)
tree3dacdeb055f7ebc9a0b06fd27a8e9c4a0ef09146
parentbbf480ddf239b5976bc18710f8e4cda5168ffbf5 (diff)
downloadsrc-184a6f3512e3b041a501258aac94fcaa77b2af2b.tar.gz
src-184a6f3512e3b041a501258aac94fcaa77b2af2b.zip
Add support for building the 'mlx?' devices, which will be used by the
upcoming 'mlxcontrol' utility.
Notes
Notes: svn path=/head/; revision=55200
-rw-r--r--etc/MAKEDEV10
1 files changed, 9 insertions, 1 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV
index a206140186d7..7e2158778c4f 100644
--- a/etc/MAKEDEV
+++ b/etc/MAKEDEV
@@ -45,7 +45,8 @@
# matcd* Matsushita (Panasonic) CD-ROM disks
# mcd* Mitsumi CD-ROM disks
# md* Memory (or malloc) disk
-# mlxd* Mylex DAC960 RAID
+# mlx* Mylex DAC960 RAID controllers
+# mlxd* Mylex DAC960 RAID disk volumes
# scd* Sony CD-ROM disks
# vn* vnode disks
# wd* "Winchester" disk drives (ST506,IDE,ESDI,RLL,...)
@@ -1493,6 +1494,13 @@ i4btrc*)
chmod 600 i4btrc$unit
;;
+mlx*)
+ unit=`expr $i : 'mlx\(.*\)'`
+ mknod mlx$unit c 130 $unit
+ chown root:wheel mlx$unit
+ chmod 600 mlx$unit
+ ;;
+
local)
umask 0 # XXX should be elsewhere
sh MAKEDEV.local