Subject: mknod and tap_postinstall
To: None <netbsd-users@netbsd.org>
From: George Georgalis <george@galis.org>
List: netbsd-users
Date: 10/23/2005 18:50:50
I've just installed net/netbsd-tap and now I have a file to run
and create the dev nodes:
# cat /usr/pkg/sbin/tap_postinstall
#!/bin/sh
rm -f /dev/tap /dev/tap0 /dev/tap1 /dev/tap2 /dev/tap3
mknod /dev/tap c $3 0xfffff
mknod /dev/tap0 c $3 0
mknod /dev/tap1 c $3 1
mknod /dev/tap2 c $3 2
mknod /dev/tap3 c $3 3
But the message I have doesn't explain what $3 should be...
The script /usr/pkg/sbin/tap_postinstall creates the relevant device
nodes in /dev, and can be used independently.
Any ideas?
// George
--
George Georgalis, systems architect, administrator <IXOYE><
http://galis.org/ cell:646-331-2027 mailto:george@galis.org