From: Pádraig Brady Date: Thu, 5 Feb 2015 13:59:12 +0000 (+0000) Subject: maint: document a caveat in the tail inotify implementation X-Git-Tag: v8.24~129 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f7ca66bc5d467c50c3df341f7f18bef689f8247;p=thirdparty%2Fcoreutils.git maint: document a caveat in the tail inotify implementation * src/tail.c (main): Document another caveat with the inotify implementation wrt multiple hardlinked files. --- diff --git a/src/tail.c b/src/tail.c index 5fdb956c64..c5380cbe8e 100644 --- a/src/tail.c +++ b/src/tail.c @@ -2265,7 +2265,11 @@ main (int argc, char **argv) FIXME: when using inotify, and a directory for a watched file is recreated, then we don't recheck any new file when - follow_mode == Follow_name */ + follow_mode == Follow_name. + + FIXME-maybe: inotify has a watch descriptor per inode, and hence with + our current hash implementation will only --follow data for one + of the names when multiple hardlinked files are specified. */ if (!disable_inotify && (tailable_stdin (F, n_files) || any_remote_file (F, n_files) || any_symlinks (F, n_files)