Complete.Org: Mailing Lists: Archives: discussion: November 1998:
Re: [aclug-L] loopback Q.
Home

Re: [aclug-L] loopback Q.

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: aclug-L@xxxxxxxxxxxx
Subject: Re: [aclug-L] loopback Q.
From: John Goerzen <jgoerzen@xxxxxxxxxxxx>
Date: Thu, 12 Nov 1998 07:01:26 -0600
Reply-to: aclug-L@xxxxxxxxxxxx

On Wed, Nov 11, 1998 at 11:55:04PM -0600, Brian J. Chapman wrote:

> okay, this might be a dumb question, but is it possible to loopback mount
> a TAR file?

Nope.  A tar file is not a filesystem (just as a zip file isn't either), so
it cannot be mounted as one.  One of the big hindrances to this is that tar
files do not contain any sort of central directory structure, which could
make it necessary to read through the entire archive each time an "ls" is
issued.  (Imagine doing that with a 70 MB file.)  The reason for this dates
back to the creation of tar; it was originally intended for doing backups to
tape (Tape ARchive).  When you do backups, you do not know beforehand which
files will actually be stored (the files may change after the backups start
if it's an active system), so it was not possible to put a central directory
there.  Also, the tapes of the day had no "seek" operation, so it would not
have gained them anything anyway.

Fortunately for us, GNU tar has pretty powerful extraction options :-)


-- 
John Goerzen   Linux, Unix consulting & programming   jgoerzen@xxxxxxxxxxxx |
Developer, Debian GNU/Linux (Free powerful OS upgrade)       www.debian.org |
----------------------------------------------------------------------------+
Visit the Air Capital Linux Users Group on the web at http://www.aclug.org
---
This is the Air Capitol Linux Users Group discussion list.  If you
want to unsubscribe, send the word "unsubscribe" to
aclug-L-request@xxxxxxxxxxxx.  If you want to post to the list, send your
message to aclug-L@xxxxxxxxxxxx.



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