Index | Thread | Search

From:
Todd C. Miller <millert@openbsd.org>
Subject:
Re: tar(1) write format selection
To:
Jeremie Courreges-Anglas <jca@wxcvbn.org>
Cc:
tech@openbsd.org
Date:
Tue, 16 Apr 2024 12:44:21 -0600

Download raw body.

Thread
  • Todd C. Miller:

    tar(1) write format selection

  • On Mon, 15 Apr 2024 19:48:22 +0200, Jeremie Courreges-Anglas wrote:
    
    > One drawback of switching tar(1) to use 'pax' write format by default
    > is that tar(1) doesn't give the user a generic way to specify a format
    > (-o and -O suck).  So the diff below uses -F for that.  GNU tar uses
    > -H (already used) and FreeBSD/NetBSD tar use --format and we don't
    > want long options.
    >
    > -o handling becomes slightly brittle but I have plans to
    >  butcher^Wimprove that option anyway.
    >
    > Input and reviews welcome.  ok?
    
    I suppose we can't easily repurpose the -H flag this late in the
    game (though I suspect is has few or no users).  Using -F for this
    is reasonable and more mnemonic than -H anyway.
    
    OK millert@
    
     - todd
    
    
    
  • Todd C. Miller:

    tar(1) write format selection