CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Merged changes from noeabi (72cbd18e791bd2edff0e8d23873136187f0cd936)
[crossrootfs.git] / udev / start_udev
CommitLineData
6dca1d21
JB
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
7echo > /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