I conclude that the hardlink isn't necessary for the test: estrella:~/testeaufs/tmp# mkdir A estrella:~/testeaufs/tmp# touch A/B estrella:~/testeaufs/tmp# tail -f A/B & [1] 27862 estrella:~/testeaufs/tmp# rm A/B estrella:~/testeaufs/tmp# # nothing happens for a long time
then estrella:~/testeaufs/tmp# rmdir A rmdir: A: Directory not empty ---> I really cannot understand why trying to remove the directory ---> causes tail do died 40 seconds later: estrella:~/testeaufs/tmp# tail: A/B: No such file or directory tail: no files remaining Debug information, I'm not sure if it is usefull: 1) rmdir A Oct 9 00:42:07 estrella kernel: d-1: tmp/A, aufs, cnt 2, flags 0x8, intent 0 Oct 9 00:42:07 estrella kernel: i-1: i4199, aufs, cnt 1, nl 2, 040755, ntfy 0, sz 33, blk 0, ct 358, np 0, st 0x0, g 34 Oct 9 00:42:07 estrella kernel: d-1: bstart 0, bend 0, bwh -1, bdiropq -1, gen 0 Oct 9 00:42:07 estrella kernel: d0: tmp/A, xfs, cnt 4, flags 0x0, intent 0 Oct 9 00:42:07 estrella kernel: i0: i201389688, xfs, cnt 2, nl 2, 040755, ntfy 0, sz 33, blk 0, ct 358, np 0, st 0x0, g 34 Oct 9 00:42:07 estrella kernel: i-1: i4199, aufs, cnt 1, nl 2, 040755, ntfy 0, sz 33, blk 0, ct 358, np 0, st 0x0, g 34 Oct 9 00:42:07 estrella kernel: i-1: bstart 0, bend 0, gen 0 Oct 9 00:42:07 estrella kernel: i0: i201389688, xfs, cnt 2, nl 2, 040755, ntfy 0, sz 33, blk 0, ct 358, np 0, st 0x0, g 34 Oct 9 00:42:07 estrella kernel: i-1: i201389688, xfs, cnt 2, nl 2, 040755, ntfy 0, sz 33, blk 0, ct 358, np 0, st 0x0, g 34 Oct 9 00:42:07 estrella kernel: d-1: tmp/A, aufs, cnt 2, flags 0x8, intent 0 Oct 9 00:42:07 estrella kernel: i-1: i4199, aufs, cnt 1, nl 2, 040755, ntfy 0, sz 33, blk 0, ct 358, np 0, st 0x0, g 34 Oct 9 00:42:07 estrella kernel: d-1: bstart 0, bend 0, bwh -1, bdiropq -1, gen 0 Oct 9 00:42:07 estrella kernel: d0: tmp/A, xfs, cnt 4, flags 0x0, intent 0 Oct 9 00:42:07 estrella kernel: i0: i201389688, xfs, cnt 2, nl 2, 040755, ntfy 0, sz 33, blk 0, ct 358, np 0, st 0x0, g 34 2) When tail died Oct 9 00:42:47 estrella kernel: d-1: //rt, aufs, cnt 1, flags 0x8, intent 0 Oct 9 00:42:47 estrella kernel: i-1: err 0 Oct 9 00:42:47 estrella kernel: d-1: bstart 0, bend 0, bwh -1, bdiropq -1, gen 0 Oct 9 00:42:47 estrella kernel: d0: caporal/rt, xfs, cnt 1, flags 0x0, intent 0 Oct 9 00:42:47 estrella kernel: i0: err 0 Oct 9 00:42:47 estrella kernel: d-1: //rt, aufs, cnt 1, flags 0x8, intent 0 Oct 9 00:42:47 estrella kernel: i-1: err 0 Oct 9 00:42:47 estrella kernel: d-1: bstart 0, bend 0, bwh -1, bdiropq -1, gen 0 Oct 9 00:42:47 estrella kernel: d0: caporal/rt, xfs, cnt 1, flags 0x0, intent 0 Oct 9 00:42:47 estrella kernel: i0: err 0 Oct 9 00:42:47 estrella kernel: d-1: tmp/A, aufs, cnt 1, flags 0x0, intent 0 Oct 9 00:42:47 estrella kernel: i-1: i4199, aufs, cnt 1, nl 2, 040755, ntfy 0, sz 33, blk 0, ct 358, np 0, st 0x0, g 34 Oct 9 00:42:47 estrella kernel: d-1: bstart 0, bend 0, bwh -1, bdiropq -1, gen 0 Oct 9 00:42:47 estrella kernel: d0: tmp/A, xfs, cnt 5, flags 0x0, intent 0 Oct 9 00:42:47 estrella kernel: i0: i201389688, xfs, cnt 2, nl 2, 040755, ntfy 0, sz 33, blk 0, ct 358, np 0, st 0x0, g 34 Oct 9 00:42:47 estrella kernel: d-1: A/.nfs0000014900000006, aufs, cnt 1, flags 0x0, intent 0 Oct 9 00:42:47 estrella kernel: i-1: i329, aufs, cnt 1, nl 1, 0100644, ntfy 0, sz 0, blk 0, ct 358, np 0, st 0x0, g 4d Oct 9 00:42:47 estrella kernel: d-1: bstart 0, bend 0, bwh -1, bdiropq -1, gen 0 Oct 9 00:42:47 estrella kernel: d0: A/.nfs0000014900000006, xfs, cnt 1, flags 0x8, intent 0 Oct 9 00:42:47 estrella kernel: i0: i201400758, xfs, cnt 2, nl 1, 0100644, ntfy 0, sz 0, blk 0, ct 358, np 0, st 0x0, g 4d ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
