I have a proc file which is updated by a driver. In user space I am reading using tail. It is working fine, But when i give -f option for tail, It is not working. This means it is reading file contents which are already there but it is not reading new contents that added later.Can somebody explain why?
Asked
Active
Viewed 591 times
2
Chinna
- 2,179
- 2
- 14
- 13
-
http://superuser.com/a/155214/28322 ? – Basilevs Dec 10 '13 at 05:15
1 Answers
3
According to discussion the Linux Kernel Mailing List in 2001, proc was not built with support for the underlying code calls used by tail -f. I have not found any evidence that such support was added in the last 12 years.
Moshe Katz
- 3,193
- 3
- 21
- 42