* [uml-devel] tail -f is triggers a bug of hostfs on fstat64
@ 2003-10-29 18:40 BlaisorBlade
0 siblings, 0 replies; only message in thread
From: BlaisorBlade @ 2003-10-29 18:40 UTC (permalink / raw)
To: user-mode-linux-devel
tail -f on UML doesn't succeed in following a file on hostfs. With strace, I
could see that while normally tail -f does an fstat64 every second to the
file, and checks things when it reports different datas, on hostfs the
fstat64 always returns the same file size and probably the same attributes.
I've seen this on 2.4.22-5um.
I think this is difficult since the VFS caches dentries and inodes, and the
change doesn't go through the VFS, but NFS exists and has probably already
faced such issues, so it could lead to solution.
Bye
--
cat <<EOSIGN
Paolo Giarrusso, aka Blaisorblade
Linux Kernel 2.4.21/2.6.0-test on an i686; Linux registered user n. 292729
EOSIGN
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-10-29 18:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-29 18:40 [uml-devel] tail -f is triggers a bug of hostfs on fstat64 BlaisorBlade
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox