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

Re: Package cache



On Wed, Aug 22, 2007 at 01:52:40PM +0200, Michelle Konzack wrote:

> Am 2007-08-21 11:26:26, schrieb Guus Sliepen:
> > Well, it could be implemented with a FUSE daemon, that you mount over
> > /usr for example, and which periodically fetches the Contents-<arch>.gz
> > file from a mirror. It the uses the Contents file to generate directory
> > listings. If some package tries to open() a file that is not already in
> > the original /usr filesystem, it will look into the Contents file to
> > determine which package contains the open()ed file, installs it, and
> > then lets the open() continue. It can also track usage information this
> > way. It's a daemon that you can start as root during boot, so users
> > don't need special privileges. Also, if you stop the daemon, the
> > original /usr filesystem becomes visible again, which can be used
> > without problems.
> > 
> > I'm not going to implement this though.
> ------------------------- END OF REPLIED MESSAGE -------------------------
> 
> I have short checked the Contents-i386.gz from Sarge
> and it contain 1.457.478 lines...
> 
> Which mean, you need at least those inodes availlable
> otherwise you will run into heavy trouble.

That is not a problem with FUSE. You only have to make data available on
demand.

-- 
Met vriendelijke groet / with kind regards,
      Guus Sliepen <guus@debian.org>

Attachment: signature.asc
Description: Digital signature


Reply to: