On 02/04/2010, at 2:50 PM, Denys Vlasenko wrote:

> On Friday 02 April 2010 01:14, Steve Bennett wrote:
>>> 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?
> 
> Delete will (try to) delete the node.
> Users which created the node by some other mechanism
> won't like to find their nodes nuked by mdev.
> 
>>> Maybe you should set major = -1 instead?
>> 
>> That is probably fine too.
>>> 
>>> And why do you disallow command in this case?
>>> It might be useful.
>> 
>> Possibly. It seemed confusing to me to run a command
>> on create/delete of a device node which is just being
>> ignored. Can you think of a real use case, or do you
>> just like the symmetry of it?
> 
> I just don't see why would I want to remove that
> possibility - it's doesn't cost anything in terms of code size.
> 
> I implemented "!" in current git, please test.

Works for me. Thanks.

Steve
--
µWeb: Embedded Web Framework - http://uweb.workware.net.au/

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to