Am 07.08.11 18:04, schrieb Emmanuel Dreyfus: > Mouse <mo...@rodents-montreal.org> wrote: > >> Personally? I'd say that scheduling it should be done by userland, but >> that putting the actual removal in the filesystem makes sense. > > 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.