"how hard can `tail -F` be?" i thought ... but unless i'm using inotify wrong, the answer turns out to be "quite a lot harder than i expected because i need watch the parent directory for a different set of events, and then filter those".
strace tells me that coreutils actually does use inotify, whereas busybox just polls (by sleeping). would you be happy (at least for the time being) with a crappy polling `tail -F`? i can guarantee i can find the time to do that... rewriting the inotify stuff to support deletion/re-creation keeps failing to fit into any available time gap (and then i have the "where was i?" problem that i know you're all too familiar with!).
_______________________________________________ Toybox mailing list [email protected] http://lists.landley.net/listinfo.cgi/toybox-landley.net
