hotplug-light
I uploaded to http://www.bofh.it/~md/debian/ my set of *.rc and *.agent hotplug scripts, some based on the original ones and some written by me from scratch.
With the goal of making them as simple as possible, I removed from the original scripts any support for 2.4 kernels and code made obsolete by udev, like waiting for sysfs files and the whole /sbin/hotplug. Please comment.
Signature · 2 lines
ciao, Marco
Quoted 9 lines · Marco d'Itri
I uploaded to http://www.bofh.it/~md/debian/ my set of *.rc and *.agent hotplug scripts, some based on the original ones and some written by me from scratch.
With the goal of making them as simple as possible, I removed from the original scripts any support for 2.4 kernels and code made obsolete by udev, like waiting for sysfs files and the whole/sbin/hotplug. Please comment.
Thanks! Comments are below.
The original hotplug scripts have "dmfe" blacklisted. Your scripts don't. Why?
Neither set of the scripts has "8139cp" blacklisted. Shame on me, I still cannot test that 8139cp and 8139too work together, and I don't know the most relevant mailing list to ask that.
As to buffering in logger.agent to avoid interleaving events in the log, I used the following approach: if there is a SEQNUM, log each event into its own file: event.$SQENUM.
+1 to the proposal to move net.agent out of the package, into distro-specific initscripts.
Not sure about ide-generic in ide.rc. Any real use case for it?
In ieee1394.rc, there is a cosmetic typo probably caused by copy-and-paste from input.rc. s/input/ieee1394/
Also serio.agent mentions ieee1394.
modalias.rc and pnp.rc don't (and can't) handle blacklists. I propose putting a note in the README upon this subject (possibly mentioning the relevant backlist support in module-init-tools), because this can load watchdogs. Anyway, I feel uncomfortable with two blacklists.
Signature · 12 lines
Alexander E. Patrakov ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 6 lines · Alexander E. Patrakov
The original hotplug scripts have "dmfe" blacklisted. Your scripts don't. Why?
Neither set of the scripts has "8139cp" blacklisted. Shame on me, I still cannot test that 8139cp and 8139too work together, and I don't know the most relevant mailing list to ask that.
These are results of Debian QA, you can find the details by looking at the changelog for the Debian hotplug package.
Quoted 3 lines
As to buffering in logger.agent to avoid interleaving events in the log, I used the following approach: if there is a SEQNUM, log each event into its own file: event.$SQENUM.
I assumed that with udev serializing the events buffering would not be an issue, so far it has been working.
Quoted 1 line
Not sure about ide-generic in ide.rc. Any real use case for it?
I think I added it after a bug report.
Quoted 1 line
modalias.rc and pnp.rc don't (and can't) handle blacklists. I propose
They are not supposed to, modprobe does. The Debian package will be patched to use /etc/hotplug/blacklist.d/.
Actually the main issue is that ide.rc cannot use the modprobe blacklist, but Rusty considers this a feature...
Signature · 13 lines
ciao, Marco ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel