Re: tarfs - this is done! [Re: Proposed new file system?]

Pavel Machek (pavel@elf.ucw.cz)
Sun, 5 Apr 1998 21:13:06 +0200


Hi!

> > BTW I have this done :-). It is working on my machine, and I'm now
> > polishing it. I've stolen code from mc, so I can do tar, tgz, arj,
> > zip, zoo, ..., and ftp. I'm doing it using fake NFS server. Problem
> > is that NFS server is single threaded.
>
> Would you mind if I had a look at it? My interest isn't in the .tar fs
> as such, but in a system like ZipMagic, where the first request for an
> archive file causes it to be expanded into a directory...

Ook, this is rather similar to what we do.

> One thing I did note is that in the man page for chattr there's
> reference to a (currently unimplemented) attribute +c that can be set
> on a file to cause it to be automatically compressed on storage and
> expanded on reading, and that's what I was thinking of hooking into,
> with a utility to automatically set the +c attribute on compressed
> files, and if they're also archive files, the expansion turns them
> into directories...

There's already better way to do this: see ext2compr.

Pavel
> Also, does your system include rar archives?

Yes. I essentialy stolen part of mc and made it part of nfsd.

-- 
I'm really pavel@atrey.karlin.mff.cuni.cz. 	   Pavel
Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu