mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-10 16:31:18 +01:00
Add an entry for the nmdm devices
This commit is contained in:
parent
e72bf8707b
commit
5fc391d0cc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=73167
13
etc/MAKEDEV
13
etc/MAKEDEV
@ -1076,6 +1076,19 @@ vty*)
|
||||
ln -fs ttyv0 vga # XXX X still needs this pccons relic
|
||||
;;
|
||||
|
||||
nmdm*)
|
||||
units=`expr $i : 'nmdm\(.*\)'`
|
||||
chr=18
|
||||
i=0
|
||||
while [ $i -lt $units ]; do
|
||||
minor=`unit2minor $i`
|
||||
minor=$(($minor + $minor))
|
||||
mknod nmdm${i}A c $chr $minor
|
||||
mknod nmdm${i}B c $chr $(($minor + 1))
|
||||
i=$(($i + 1))
|
||||
done
|
||||
;;
|
||||
|
||||
bpf*)
|
||||
nbpf=`expr $i : 'bpf\(.*\)$'`
|
||||
unit=0
|
||||
|
Loading…
Reference in New Issue
Block a user