[PATCH] Allow device nodes to be omitted with -

Rob Landley rob at landley.net
Mon Apr 5 00:37:00 UTC 2010


On Thursday 01 April 2010 18:14:58 Steve Bennett wrote:
> On 02/04/2010, at 6:45 AM, Denys Vlasenko wrote:
> > On Wednesday 31 March 2010 03:49, Steve Bennett wrote:
> >> Ping. Any interest in this patch?
> >>
> >> On 22/03/2010, at 7:46 AM, Steve Bennett wrote:
> >>> On 22/03/2010, at 7:49 AM, Bernhard Reutner-Fischer wrote:
> >>>> On Fri, Mar 19, 2010 at 10:15:11AM +1000, Steve Bennett wrote:
> >>>>> This patch allows mdev to omit creation of device nodes
> >>>>
> >>>> I'd go for '!' and your doc hunk lacks '"prevent" creation' or "omit".
> >>>
> >>> '!' probably makes slightly more sense.
> >>> How's this (with docs made clearer too)?
> >
> > This treats creation actions as deletions too - it will
> > delete the device node if it exist. This is confusing.
>
> Possibly. What does delete even mean when the "create" action
> is to not create the device node?

It means take action when the device shows up.  (Possibly to chmod what 
devtmpfs gave you, or launch the command line.)

Note that if you modify a devtmpfs node (via chmod or similar), the "dirty" 
node won't be automatically deleted for you by devtmpfs.

Rob
-- 
Latency is more important than throughput. It's that simple. - Linus Torvalds


More information about the busybox mailing list