Lars Weber wrote:

> Final note: an expirefs-translator could even be useful by itself for
> things like the /tmp directory.


Or `/var/cache' on Debian.  This directory can be a node of `cachefs'. 
It can use that filesystem node for storing cached files and 
translators.  Whenever there is a RPC to `cachefs' it does necessary 
check up if that file is cached and is not expired (by making RPC to the 
correct translator that use `/var/cache/X/Y' as underlying node).  If it 
is so then return the cached one.  If it is not then get the file, cache 
it, and return it.  Of course, this is only a raw description how 
`cachefs' can behave for files.  As an example, `/var/cache/man' can be 
served by `manfs' so that `less /var/cache/man/cat1/bash.1' can display 
the manual page for `bash' and cache it.  The general concept of caching 
and expiring can be very useful.

Regards

-- 

Ognyan Kulev <[EMAIL PROTECTED]>, "\"Programmer\""



_______________________________________________
Help-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-hurd

Reply via email to