CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Imported core-cross ports from 2.5
[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