From 0f7ca66bc5d467c50c3df341f7f18bef689f8247 Mon Sep 17 00:00:00 2001 From: Pádraig Brady
Date: Thu, 5 Feb 2015 13:59:12 +0000 Subject: maint: document a caveat in the tail inotify implementation * src/tail.c (main): Document another caveat with the inotify implementation wrt multiple hardlinked files. --- src/tail.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/tail.c b/src/tail.c index 5fdb956c6..c5380cbe8 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) -- cgit v1.2.3-70-g09d2