2015-10-20 13:17 GMT+02:00 Denys Vlasenko <vda.li...@googlemail.com>: > > inotifyd syntax is "inotifyd PROG FILE1[:MASK]...", > and PROG is run with > > PROG ACTUAL_EVENTS FILEn [SUBFILE] > > This severely limits the number of unmodified PROGs you can run > to achieve some useful result. For example, even cat'ting newly > created files to stdout can't be done by PROG=cat, you need > to massage argv's > > IOW: in practice, you always need a shim.
I agree that the functionality of inotifyd is limited. I tried working with what's available. Would you be willing to accept patches that expand this applet? Like for example being able to redirect the events to stdout instead of only being able to pass them as arguments to PROG? This is how inotifywait works BTW. Other than that: I'm late to the party - I don't have anything more to add than what Laurent already said. I don't like the idea of a child killing its parents - I prefer strict hierarchy. Best regards, Bartosz Golaszewski _______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox