PATCH: inotifyd.c: Implement a builtin 'echo' command

Laurent Bercot ska-dietlibc at skarnet.org
Mon Oct 3 13:11:35 UTC 2011


> 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


More information about the busybox mailing list