On Monday 20 April 2009 00:03, Vladimir Dronnikov wrote: > Works fine. It is even seamlessly support regexp substition in command clause. > Thanks! > > --- > > We have default (hardcoded though) values for uid:gid and mode for new > devices. But we must constantly repeat them in mdev.conf, even if we > just want to say "Use the defaults". This breaks the sense of a > default value.
People reading config with these dashes will wonder "what is it? oh, I vaguely remeber that it means 'use dafault'... but what is the default mode? and which dash is mode and which dash is user:group?" > Attached is a patch that makes mdev treat single dashes for specifying > "true" default values for 2nd and 3rd fields. It adds code -> it will annoy Rob even more. -- vda _______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox