Subject: Re: pkg_* don't seem to work as advertised...
To: matthew green <mrg@eterna.com.au>
From: Jim Wise <jwise@unicast.com>
List: current-users
Date: 06/11/1998 10:34:30
-----BEGIN PGP SIGNED MESSAGE-----

On Thu, 11 Jun 1998, matthew green wrote:

>i thought i removed the --fast-read option from the pkg tools?  might
>be a local change only -- i'm using pax as tar/cpio locally.  pax does
>this by default.  only tar seems to continue to read the archive after
>it has found all the members listed... lame.

IIRC, the tar format doesn't have room for replace functionality (as
it's designed to be streamed), so the `proper' way to replace a file in
a tar archive is to add another copy to the end of the archive.  Thus
tar keeps reading in case this has been done.  --fast-read allows you to
indicate to tar that you know that this hasn't been done, but is not
correct behavior in the general case, IMHO.

- -- 
				Jim Wise
				jwise@unicast.com

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQEVAwUBNX/q+xg+dMhCouwfAQEYGQgAk5Ij90J8q+uUTy14snnNf3HWqH7g1EQA
ZSnXriYzbNw73eGPShphDkmWOwaztPFNR42noKL8miNM7kiHXu7i8h1R/9i9bmWS
r24PZCOEhp4A7AL6+h7y05wKtTKNQ6WPt41gMKl//AL6fv4kAZZNjjii9GdOjWbY
/QWhGf1dJU5/a/TI5oLSjBZMOJ1iTvT0vQoWK4iuLsGwZnmqwzH/NVMiJs6sZBBt
lyA41ehwpB9ENouPsYppps+kzPHPrlEP+ui3A+uhAtbiyB2xlgciCx27Jvx7aBvB
1zs/nrjqSXQtUorbw049NkZWtAotTiiXCVdtDtPrriRfq3mMvBC61g==
=b0CP
-----END PGP SIGNATURE-----