Re: Request for Comments: libarchive, bsdtar

From: Tim Robbins (tjr_at_freebsd.org)
Date: 01/15/04

  • Next message: Tim Kientzle: "Re: Request for Comments: libarchive, bsdtar"
    Date: Thu, 15 Jan 2004 10:48:29 +1100
    To: Tim Kientzle <kientzle@acm.org>
    
    

    On Tue, Jan 13, 2004 at 09:31:49PM -0800, Tim Kientzle wrote:

    > Request for Comments: libarchive, bsdtar
    >
    > PROPOSAL
    >
    > Add "libarchive" to the tree, prepare to change the system
    > tar command to "bsdtar" once it is sufficiently stable.
    [...]
    > Feedback and comments greatly appreciated,

    Let me start by thanking you for working on replacing GNU utilities with
    higher quality and less restrictively licensed alternatives. I haven't
    had time to read over the code very thoroughly, but I have a few initial
    comments:
    - Padding gzip'd tar archives (with bsdtar czf) causes gzip to report
      "trailing garbage" and fail, and in turn this causes GNU tar to fail.
      BSD pax (-wzf) and GNU tar (czf) do not pad compressed archives.
    - I would prefer it if compression was done by opening a pipe to gzip/bzip2
      instead of using libz/libbz2. This would make things simpler, and make it
      easier to support compress(1).
    - I don't think the URL/libfetch support belongs in a library that deals
      with archives. Perhaps the interface could be changed so that the
      caller could pass a FILE * or a file descriptor instead of a filename.
    - Filenames are too long :-)

    Tim
    _______________________________________________
    freebsd-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"


  • Next message: Tim Kientzle: "Re: Request for Comments: libarchive, bsdtar"

    Relevant Pages

    • Re: Request for Comments: libarchive, bsdtar
      ... Oddly, GNU tar does successfully and correctly extract the archive, ... The issue here is correct blocking for devices that require it. ... for clients of the library. ... > with archives. ...
      (freebsd-arch)
    • Re: tar -cvfX save.tar foo ./dirtosave/..
      ... So star produces incompatible archives. ... Is it POSIX, or is it GNU? ... the POSIX standards in the way you phrase a command, for example, GNU ...
      (comp.os.linux.misc)
    • Re: tar -cvfX save.tar foo ./dirtosave/..
      ... So star produces incompatible archives. ... Is it POSIX, or is it GNU? ... the POSIX standards in the way you phrase a command, for example, GNU ...
      (comp.unix.solaris)
    • Re: Finding largest files on a filesystem
      ... Why not simply use the `-ls' predicate available with GNU as well as on ... filename contains blanks and newline characters. ... Or newline characters. ...
      (comp.unix.shell)
    • tar 1.15 released (fwd)
      ... I am pleased to announce the release of GNU tar 1.15. ... GNU tar is an archiver that creates and handles file archives in various ... ** Correctly recognize sparse archive members when used with -T option. ...
      (comp.os.linux.announce)