7b51f66476
files is usually the first direct block pointer. Since FreeBSD does automatic block reallocation to reduce filesystem fragmentation, the file being tailed can be relocated to different blocks 'on-the-fly', making the check for st_rdev unreliable. The result of this bug is tail -F pseudo-randomnly thinking the file was rotated when it wasn't, and as a result, spews out the entire file trying to catch up. MFC after: 3 days |
||
---|---|---|
.. | ||
extern.h | ||
forward.c | ||
Makefile | ||
misc.c | ||
read.c | ||
reverse.c | ||
tail.1 | ||
tail.c |