CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
udev: fixed libudev.so symlink
[crossrootfs.git] / udev / start_udev
1 #!/bin/sh
2
3 # mount /dev as a tmpfs; note: some video drivers require exec access in /dev
4 /bin/mount -n -t tmpfs udev /dev -o exec,nosuid,mode=0755
5
6 # unset hotplugger
7 echo > /proc/sys/kernel/hotplug
8
9 # populate /dev with static nodes and directories
10 /bin/cp -a /lib/udev/devices/* /dev/
11
12 # launch udev daemon
13 /sbin/udevd --daemon
14
15 # coldplug devices and wait for the queue to be processed
16 /sbin/udevadm trigger
17 /sbin/udevadm settle