Aw: Re: mdev woes
Mike Frysinger
vapier at gentoo.org
Fri Jun 29 11:47:52 UTC 2007
On Thursday 28 June 2007, Jason Curl wrote:
> Mike Frysinger wrote:
> > On Thursday 28 June 2007, Jason Curl wrote:
> >> Mike Frysinger wrote:
> >>> On Thursday 28 June 2007, Jason Curl wrote:
> >>>> As a nice feature, does it exist in the newest mdev.conf the ability
> >>>> to specify the name of the device that should be created?
> >>>
> >>> all mdev functionality is explained in docs/mdev.txt
> >>>
> >>> if you want to change the name, write a little script to do so and have
> >>> mdev.conf execute it
> >>
> >> Do all the hotplug variables set by the kernel propogate to the programs
> >> that mdev run?
> >
> > of course ... that's how the environment works, children processes
> > inherit from the parent (mdev)
> >
> >> mdev
> >> already knows about the device, so a symlink option like udev has would
> >> save flash space overall (less scripts, faster and as an option in the
> >> menuconfig would mean only those who want it would use it).
> >
> > there is a patch on the mailing list to add this ... i'm debating adding
> > it as the purpose of mdev is to provide the bare min required features;
> > if you need more, go use udev
>
> I like the link especially for 'stderr' and what not, certainly much
> faster at boot.
thinking about it, mdev symlink support wouldnt help here at
all ... /dev/std{in,out,err} are normally created by the init system as
symlinks to /dev/fd/{0,1,2} ... and /dev/fd itself is just a symlink
to /proc/self/fd
none of these things get kernel events to trigger the symlink creation in the
first place ...
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.busybox.net/pipermail/busybox/attachments/20070629/7ca8d388/attachment-0002.pgp
More information about the busybox
mailing list