linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Run udev at start of boot
@ 2007-10-27  9:49 Midhun A
  2007-10-29 20:26 ` Phillip Susi
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Midhun A @ 2007-10-27  9:49 UTC (permalink / raw)
  To: linux-hotplug

Hi All,

   I have compiled udev 116 for my ARM system and put in the required
scripts in /etc/init.d/rcS script. As this script is executed at the
end boot, my devices get created at the end of boot. I would like to
have the devices be created at the start of boot - as it happens in
most Linux systems. How do I do that?


My rcS script is as follows:

#!/bin/ash

#Start the network interface
/sbin/ifconfig eth0 xxx.xxx.xxx.xxx

#mounting proc
mount -t proc proc /proc

#mounting sysfs
mount -t sysfs  sysfs /sys

#copy initial entries for /dev
cp -a /lib/udev/devices/* /dev/

#disable hotplug
echo > /proc/sys/kernel/hotplug

mkdir -p /dev/.udev/db

#start udev
udevd --daemon

udevtrigger

#wait until udev events are handled
udevsettle


Thanks,
Midhun.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-11-01 18:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-27  9:49 Run udev at start of boot Midhun A
2007-10-29 20:26 ` Phillip Susi
2007-11-01 17:37 ` Midhun A
2007-11-01 18:50 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).