Bug or feature?

Pavel Roskin proski at gnu.org
Sun Mar 16 21:11:16 UTC 2003


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



More information about the mc-devel mailing list