[Top][All Lists]

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

Re: tar file system

From: Moritz Schulte
Subject: Re: tar file system
Date: Fri, 21 Dec 2001 12:01:06 +0100
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1

arun v <arunsark@yahoo.com> writes:

> Basically what libraries, i need to use -- i think libdiskfs will be
> needed!

No, you should use libnetfs, because the nodes in the directory
hierarchy provided by tarfs are "virtual" - in a way.

> How can i extract the tar files to directory?

I think you're misunderstanding something.  The whole purpose of tarfs
is to provide transparent access to tar archives _without_ the need of
extracting the archive.  Instead of extracting, you should be able to
simply use tarfs, which then provides a virtual filesystem for the
archive content - just as it has been extracted.

Some notes:

- tarfs should scan a given tar archive and construct a data structure
  with the information it needs

- it could then for example build a complete hierarchy of nodes, which
  corresponds to the content of the tar archive

- then all the netfs function have to be implemented to operate on
  these data structures...

moritz@duesseldorf.ccc.de - http://duesseldorf.ccc.de/~moritz/
GPG fingerprint = 3A14 3923 15BE FD57 FC06  B501 0841 2D7B 6F98 4199

reply via email to

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