linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* hotplug-light
@ 2005-06-26 21:21 Marco d'Itri
  2005-06-27  3:58 ` hotplug-light Alexander E. Patrakov
  2005-06-28  8:37 ` hotplug-light Marco d'Itri
  0 siblings, 2 replies; 3+ messages in thread
From: Marco d'Itri @ 2005-06-26 21:21 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 408 bytes --]

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.

-- 
ciao,
Marco

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: hotplug-light
  2005-06-26 21:21 hotplug-light Marco d'Itri
@ 2005-06-27  3:58 ` Alexander E. Patrakov
  2005-06-28  8:37 ` hotplug-light Marco d'Itri
  1 sibling, 0 replies; 3+ messages in thread
From: Alexander E. Patrakov @ 2005-06-27  3:58 UTC (permalink / raw)
  To: linux-hotplug

Marco d'Itri wrote:

>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.

-- 
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_id\x16492&op=click
_______________________________________________
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] 3+ messages in thread

* Re: hotplug-light
  2005-06-26 21:21 hotplug-light Marco d'Itri
  2005-06-27  3:58 ` hotplug-light Alexander E. Patrakov
@ 2005-06-28  8:37 ` Marco d'Itri
  1 sibling, 0 replies; 3+ messages in thread
From: Marco d'Itri @ 2005-06-28  8:37 UTC (permalink / raw)
  To: linux-hotplug

On Jun 27, "Alexander E. Patrakov" <patrakov@ums.usu.ru> wrote:

> 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.

> 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.

> Not sure about ide-generic in ide.rc. Any real use case for it?
I think I added it after a bug report.

> 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...

-- 
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_id\x16492&op=click
_______________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2005-06-28  8:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-26 21:21 hotplug-light Marco d'Itri
2005-06-27  3:58 ` hotplug-light Alexander E. Patrakov
2005-06-28  8:37 ` hotplug-light Marco d'Itri

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).