Re: How to tell when a file is read from disk or cache?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 17.11.2012 18:29, schrieb Joachim Backes:
> On 11/17/2012 05:15 PM, Philip Rhoades wrote:
>> People,
> 
>> Is there some way of doing this? - even for a simple situation like
>>  opening a text file in Vim?
> 
> Perhaps this helps? See the following manpages:
> 
> Inotify			(7)	monitoring file system events
> inotify_add_watch	(2)	add a watch to an initialized inotify
> 				instance
> inotify_init		(2)	initialize an inotify instance
> inotify_init1		(2)	initialize an inotify instance
> inotify_rm_watch	(2)	remove an existing watch from an
> 				inotify instance

unlikely

that a file is changed or written does not say anything
about the state on disk, buffering/caching is transparent

inotify does not tell you anything at all about the OP's
question which hs the the simple answer "no"

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux