summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1999-12-29 01:11:29 +0000
committermsmith <msmith@FreeBSD.org>1999-12-29 01:11:29 +0000
commitf3ef7b4ecf541b8c073dd4fe43b510b0132b5782 (patch)
tree3c1c7afb1acc7ecd1f56b4fa19e01b82c98a8e51 /etc
parentb44d317152210ebb7a872a73797618171b60595c (diff)
downloadFreeBSD-src-f3ef7b4ecf541b8c073dd4fe43b510b0132b5782.zip
FreeBSD-src-f3ef7b4ecf541b8c073dd4fe43b510b0132b5782.tar.gz
Add support for building the 'mlx?' devices, which will be used by the
upcoming 'mlxcontrol' utility.
Diffstat (limited to 'etc')
-rw-r--r--etc/MAKEDEV10
1 files changed, 9 insertions, 1 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV
index a206140..7e21587 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
OpenPOWER on IntegriCloud