An example mdev.conf

Denys Vlasenko vda.linux at googlemail.com
Sat Nov 7 02:32:46 UTC 2009


On Thursday 05 November 2009 18:16, Rob Landley wrote:
> On Thursday 05 November 2009 01:52:51 Rob Landley wrote:
> > So solar at gentoo has maintained his own mdev.conf for a while:
> >
> >   ftp://tinderbox.x86.dev.gentoo.org/misc/mdev.conf
> >
> > And Cross Linux From Scratch picked up a variant of it:
> >
> >   http://cross-lfs.org/view/clfs-embedded/x86/bootscripts/mdev.html
> >
> > It would be nice if busybox had an example mdev.conf in the examples
> > directory, and these seem to be the main ones being used in the field.
> ...
> > Anyway, attached is my slightly cleaned up version which may need more
> > tweaking.  Solar: comments?
> 
> Ok, a bit optimistic that first attempt.  I didn't notice this error last 
> night:
> 
>   mdev: unknown user/group ->
>   mdev: unknown user/group ->
> 
> Which doesn't tell me which line of the config file it's objecting to (there's a 
> couple dozen symlink lines, it objects to two).  Time to stick printfs into 
> it...

Fixing:

-                               bb_error_msg("unknown user/group %s", tokens[1]);
+                               bb_error_msg("unknown user/group %s on line %d", tokens[1], parser->lineno);

--
vds


More information about the busybox mailing list