On Mon, Oct 3, 2011 at 3:11 PM, Laurent Bercot <[email protected]> wrote: >> Yes it works .. At the cost of a fork+exec per outputted line! > > Or not, if you have configured bb to prefer applets. > > Anyway, have you encountered a real case where you needed "inotifyd echo" > functionality, and the fork+exec cost was prohibitive ? If you have, then > your patch is a good thing (and would be even better with a config option > whether or not to include the functionality). If you have not, then it is > just creeping featurism. > > -- > Laurent > _______________________________________________ > busybox mailing list > [email protected] > http://lists.busybox.net/mailman/listinfo/busybox >
I use it for a lua "multi tail" application in order to monitor the dirs where the monitored files lies. And yes, I consider it a massive overhead to do a full fork for each such reported event. Creating a new config option for each 5 lines of code seems like overkill to me. Especially when the change is transparent wrt. function like here. /Flemming _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
