Re: File-Requests

Pablo Saratxaga (srtxg@linux.chanae.stben.be)
Sun, 15 Sep 1996 19:32:45 +0200 (MET DST)

Kaixo !

[FREQS]
> > What are the alternatives?
> > First we can create a new directory (pubdir), which holds hundreds of
> > symbolic links with 8+3 chars which point to the real files. This
> > works without problems but this isn't very clearly arranged and keeps
> > many inodes.

I do only a few links, and for the others file people ask them _using the
full path_ (well, relative to the freq directory).
Eg: they freq "/pub/Linux/games/xtetris.tar.gz".
That works ok.

> But I have one proposal:
>
> tar.gz tgz

ifcico already does that. Look at filelist.c :

if (strcmp(q=copy+strlen(copy)-strlen(".tar.gz"),".tar.gz") == 0)
{
*q='\0';
q="tgz";
}

(maybe you want to add more translations)

-- 

A bientôt, Pablo Saratxaga

~ ~ :wq ;-) PGP Key available, key ID: 0x8F0E4975