3 # Devfs handling script. Since we arent running devfsd due to various reasons
4 # which I will not lay out here, we need to create some links for compatibility.
6 # exit without doing anything if udev is active
7 if test -e /dev/.udevdb; then
11 test -n "$VERBOSE" && echo -n "Setting up device links for devfs: "
13 ln -s /dev/vc/0 /dev/tty0
14 ln -s /dev/vc/1 /dev/tty1
15 ln -s /dev/vc/2 /dev/tty2
16 ln -s /dev/vc/3 /dev/tty3
17 ln -s /dev/vc/4 /dev/tty4
18 ln -s /dev/vc/5 /dev/tty5
19 ln -s /dev/fb/0 /dev/fb0
20 # ln -s /dev/tts/0 /dev/ttySA0
21 # ln -s /dev/tts/1 /dev/ttySA1
22 # ln -s /dev/tts/2 /dev/ttySA2
24 ln -s /dev/sound/dsp /dev/dsp
25 ln -s /dev/sound/mixer /dev/mixer
27 ln -s /dev/v4l/video0 /dev/video0
28 ln -s /dev/v4l/video0 /dev/video
29 ln -s /dev/misc/rtc /dev/rtc
30 ln -s /dev/misc/apm_bios /dev/apm_bios
32 ## need this so that ppp will autoload the ppp modules
33 mknod /dev/ppp c 108 0
37 test -n "$VERBOSE" && echo "done"