udev - HOWTO
Hi Greg,
very very nice to see that we are capable to do this now. Did you try to use udevsend in the start_udev script?
Don't know if it makes sense, maybe the nosleep stuff is not neccessary with udevsend, but I just want to know if it works. I've put the "no SEQNUM" logic in there to bypass the reordering specially for this case :)
thanks,
Kay
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 8 lines · Kay Sievers
Hi Greg,
very very nice to see that we are capable to do this now. Did you try to use udevsend in thestart_udevscript?Don't know if it makes sense, maybe the nosleep stuff is not neccessary with udevsend, but I just want to know if it works. I've put the "no SEQNUM" logic in there to bypass the reordering specially for this case :)
Hm, no, udevsend can't work in a "cold boot" type situation like this one, as we need all of the devices available in /dev as soon as the script is finished (if you look at Red Hat's scripts they instantly start writing data to the different tty devs).
The nosleep stuff is there to just make the initial startup faster. It's no fun waiting for udev to time out for devices that we know will never get a device symlink (like floppy and tty devices.)
Does that help?
thanks,
greg k-h
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Hey Greg, you put something in "my" file? :)
+- have udevd move up to the "default" priority level if it is started by + keventd (otherwise it runs at a _very_ low priority level.) Don't + know if this is necessary, but it would be nice to do.
But doesn't it run with nice -10 which is a very _high_ priority and that is ok?
Kay
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 7 lines · Kay Sievers
Hey Greg, you put something in "my" file? :)
+- have udevd move up to the "default" priority level if it is started by
(quoted diff) +2
-0+ keventd (otherwise it runs at a _very_ low priority level.) Don't + know if this is necessary, but it would be nice to do.But doesn't it run with nice -10 which is a very _high_ priority and that is ok?
Yes, you are correct. I was thinking about 2.4 priority levels, and confused a whole bunch of people around here at work when asking which was better, a lower number or a higher number...
I've removed this item, and fixed the start_udev script too.
Sorry for the false alarm :)
greg k-h
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel