Marc Balmer <mbal...@netbsd.org> wrote: > > Yes, a TTL attribute on an inode: once it expires, the filesystem tosses > > the file on next access attempt. > you shoudn't toss away a file when something attempts to access it. you > should toss it away when nothing attempt to access it for long enough.
The idea was to avoid a daemon that periodically inspets file timeout. You just have to check for expiration on access. If expired, remove the file and ansswer ENOENT. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org