From owner-freebsd-doc Sun Jul 28 15:40:11 2002 Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BD7B37B401 for ; Sun, 28 Jul 2002 15:40:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FFB743E42 for ; Sun, 28 Jul 2002 15:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6SMe2JU005628 for ; Sun, 28 Jul 2002 15:40:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6SMe2rF005627; Sun, 28 Jul 2002 15:40:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAFDC37B400 for ; Sun, 28 Jul 2002 15:32:05 -0700 (PDT) Received: from mta01ps.bigpond.com (mta01ps.bigpond.com [144.135.25.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98E3343E31 for ; Sun, 28 Jul 2002 15:32:04 -0700 (PDT) (envelope-from areilly@bigpond.net.au) Received: from areilly.bpc-users.org ([144.135.25.72]) by mta01ps.bigpond.com (Netscape Messaging Server 4.15 mta01ps May 23 2002 23:53:28) with SMTP id GZZD7M00.1WT for ; Mon, 29 Jul 2002 08:30:58 +1000 Received: from CPE-144-132-188-183.nsw.bigpond.net.au ([144.132.188.183]) by PSMAM02.mailsvc.email.bigpond.com(MailRouter V3.0n 74/21326987); 29 Jul 2002 08:30:58 Received: (qmail 10889 invoked by uid 1000); 28 Jul 2002 22:30:58 -0000 Message-Id: <20020728223058.10888.qmail@areilly.bpc-users.org> Date: 28 Jul 2002 22:30:58 -0000 From: "Andrew Reilly" Reply-To: Andrew Reilly To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/41089: pax -B option does not mention interaction with -z option Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 41089 >Category: docs >Synopsis: pax -B option does not mention interaction with -z option >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jul 28 15:40:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Andrew Reilly >Release: FreeBSD 4.6-STABLE i386 >Organization: >Environment: System: FreeBSD gurney.reilly.home 4.6-STABLE FreeBSD 4.6-STABLE #1: Sat Jul 27 10:14:36 EST 2002 root@gurney.reilly.home:/usr_plus/obj/usr_plus/src/sys/GURNEY i386 P3-500, FreeBSD as above, target same, standard libraries. >Description: -B option of pax says that it limits the number of bytes written to a volume, but when the -z option is also used the number of bytes written is less than that specified, by the compression ratio. For example, see How-To-Repeat. >How-To-Repeat: You won't get the same result, because you don't have my file system contents, but any file tree should do (other than one full of MP3 files or the like...) pax -w -t -z -f /backup/full-${today_d}.pax -B667m $dirs resulted in the warning message "pax: User specified archive volume byte limit reached." but a subsequent listing of the /backup directory shows: -rw-r--r-- 1 root wheel 352215042 Jul 29 03:11 full-020729.pax >Fix: Add a sentence or two to the description of the -B option along the lines of: "Note that the specified size is for the pax image itself. If the -z option is also used, the resulting file may contain fewer bytes, according to the compressability of the archive contents." Alternatively, perhaps the pax author could be persuaded to run the archive size counter on the _output_ of the gzip pipe? That would certainly be more useful. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message