Re: [PATCH]tar filesystem for 2.6.10-rc1-mm3(easily access tarfile)

From: Hirokazu Takahashi
Date: Sun Nov 07 2004 - 03:33:30 EST


Hi, Andyliu,

Amazing that you continue our work!
Where did you get the code?

Several years ago, we - Kazuto and I - made the filesystem
just for magazine readers. We designed it as simple as we could,
as it was a sample filesystem to explain about the design and the
implementation of linux filesystems.

I guess there may remain many things to do about it:
- To support tar.gz and tar.bz2. I guess this should be done in
a compression device, which might be md layers or a loop device
itself.
- It may be better if you can make tarent objects free-able
while the filesystem is mounted.
- It may be possible to implement append mode.
A new file can be appended to the filesystem.

We're expecting you to do a good job.

> oh,sorry.it's a readonly filesystem now.i will try to make it writeable.
> but i use tar file as loop device.
>
> by the way,if we mount an iso file it's a readonly filesystem too.
> i think maybe we should do something on the loop device to support
> this kind of write.
>
> On Sun, 07 Nov 2004 07:13:51 +0000, James Tabor
> <jimtabor@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> > andyliu wrote:
> >
> >
> > > hi
> > >
> > > let's think about the way we access the file which contained in a tar file
> > > may we can untar the whole thing and we find the file we want to access
> > > or we can use the t option with tar to list all the files in the tar
> > > and then untar the only one file we want to access.
> > >
> > > but with the help of the tarfs,we can mount a tar file to some dir and access
> > > it easily and quickly.it's like the tarfs in mc.
> > >
> > > just mount -t tarfs tarfile.tar /dir/to/mnt -o loop
> > > then access the files easily.
> > >
> > > it was writen by Kazuto Miyoshi (kaz@xxxxxxxxxxxxxxxxx) Hirokazu
> > > Takahashi (h-takaha@xxxxxxxxxxxxxxxxx) for linux 2.4.0

This address is no longer usable.

> > > and i make it work for linux 2.6.0. now a patch for linux 2.6.10-rc1-mm3
> > >
> > > the patch is to big to send it as plain text, so i can only send it as
> > > an attachment
> > >
> > > thanks
> > >
> > Wow! How cool is this! Can you copy files into a tarfs subsystem? Just like
> > we do with iso's?
> > Cool,
> > James

Thanks,
Hirokazu Takahashi.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/