Monitor a filesystem?

Ed Greshko Ed.Greshko at greshko.com
Sat Jan 5 00:50:57 UTC 2008


Cameron Simpson wrote:
> On 04Jan2008 19:26, Jeffrey Ross <jeff at bubble.org> wrote:
>> is it possible to monitor a file system to see what files have been open 
>> (and closed), and if so, how?
>> The device in this case would be a USB CD-rom drive and the filesystem 
>> would be the disk in it.
> 
> The inotify system may do the trick for you. See "man 7 inotify" for details.
> I expect there must be some handy utilities around that use it.

Would that really work?  I was under the impression that inotify was using
file system attributes and since a CD is read-only the attributes can't be
updated/modified.

Ed

-- 
I was making donuts and now I'm on a bus!




More information about the fedora-list mailing list