Re: Bug or feature?



Hello, Thomas!

> A quick shot in the dark, without looking at the code: would it be
> possible to add an mtime based sanity check for "file-based" VFSs (eg.
> archives, patchfs, debfs, rpmfs ... as opposed to ftpfs, smbfs, fish,
> ...), and enforce a "Free VFS now" if the original file has been
> modified since it (or its contents) was cached?

Yes.  This would require some common code called from open_archive() for
tar, cpio and extfs filesystems.  In addition to mtime, we may want to use
more attributes (inode, size).

I'm adding this to the TODO list for version 4.6.1.

-- 
Regards,
Pavel Roskin



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