tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: autoclean mode for tmpfs
Rhialto <rhialto%falu.nl@localhost> wrote:
> > Yes, a TTL attribute on an inode: once it expires, the filesystem tosses
> > the file on next access attempt.
>
> If it were done at the next directory listing attempt, it would make
> more sense (and the removed file should not be reported as present of
> course). In the mean time, a program which may have created the file and
> remembered its name, may still access it past the expiration date if it
> is lucky (i.e., nobody looked - a quantum file system where observation
> changes the files).
Well, I meant on the next lookup, actually, but readdir should also kill
it. This is probably too complicated.
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index