On Thu, Jan 09, 2014 at 04:51:54PM +0100, Stanislav Brabec wrote: > Karel Zak wrote: > The new behavior could simplify common situation and also prevent a > race: > if the device is not yet mounted > mount it > do the work It would be enough to add extra return code for EBUSY (which is probably a good idea for all scenarios). > > > - Make possible to use "-a" with further arguments. > > > > mount -a /foo /bar [...] > > > > Right? > > Well, it sounds interesting as well, but I was thinking about > (conflicting): > mount -a /dev/device /mountpoint It's new feature, so we can be pretty strict about it mount -a [<mountpoint> ..] and do not support "mount -a <source> <target>". If you need something more advanced then you have to compose a script. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html