arun v <[EMAIL PROTECTED]> 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
-- 
[EMAIL PROTECTED] - http://duesseldorf.ccc.de/~moritz/
GPG fingerprint = 3A14 3923 15BE FD57 FC06  B501 0841 2D7B 6F98 4199

_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to