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

Re: Monitor a filesystem?



Cameron Simpson wrote:
> On 04Jan2008 19:26, Jeffrey Ross <jeff 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!


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