[PATCH] mdev: add hotplug support
Rob Landley
rob at landley.net
Thu Jan 12 23:06:57 UTC 2006
On Thursday 12 January 2006 00:50, Frank Sorenson wrote:
> Rob Landley wrote:
> > On Wednesday 11 January 2006 03:44, Frank Sorenson wrote:
> >>This patch adds hotplug support to mdev.
> >
> > Cool.
> >
> > Tweaked a bit, then applied. (This is another thing I need a test
> > environment for. Fiddling with firmware linux as we speak...)
> >
> > Rob
>
> I've been testing by setting DEV_PATH (in mdev.c) to /tmp/dev, and
> /proc/sys/kernel/hotplug to /tmp/mdev_wrapper
>
> /tmp/mdev_wrapper:
> #!/bin/bash
> /path/to/busybox mdev $*
>
> Then, constantly plugging and unplugging a USB key to create and destroy
> the device nodes in /tmp/dev. Messes up my real system a lot less :)
Which is cool. (I haven't got a USB key with me, though. Might still have an
old pcmcia 802.11b card in one of my backpack's pockets, though.)
But what I really want is an automated regression test harness. I suppose the
harness can _simulate_ a hotplug event (by calling mdev with the right
environment variables set)...
> Frank
Rob
--
Steve Ballmer: Innovation! Inigo Montoya: You keep using that word.
I do not think it means what you think it means.
More information about the busybox
mailing list