help-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hurd Projects


From: Ognyan Kulev
Subject: Re: Hurd Projects
Date: Sun, 23 Dec 2001 16:05:02 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.7) Gecko/20011221

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 <ogi@fmi.uni-sofia.bg>, "\"Programmer\""





reply via email to

[Prev in Thread] Current Thread [Next in Thread]