bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] Proposed enhancements to "Sparse format 1.0"


From: Tim Kientzle
Subject: [Bug-tar] Proposed enhancements to "Sparse format 1.0"
Date: Sun, 12 Aug 2007 17:33:47 -0700
User-agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060422

I've just finished implementing read support
for the new GNU tar sparse file formats in
libarchive/bsdtar, and have a couple of suggestions
you might consider if you ever create a format 1.1:

  * Don't pad.  The 1.0 format pads the prepended
sparse block description out to a multiple of 512
bytes.  There's no compelling need for this; it
just makes the archive larger.

  * Include a format specifier ("magic number")
in the prepended block description.  Specifically,
I'd like to see something like the following added
to the beginning of the block description:

   #!gnu_sparse_file
   #format=1.1

This would be compatible with the current
1.0 format if readers of that format ignored
comment lines.  (hint, hint ;-)

Cheers,

Tim Kientzle




reply via email to

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