From owner-freebsd-questions@FreeBSD.ORG Tue Aug 11 18:49:25 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB23A106566B for ; Tue, 11 Aug 2009 18:49:25 +0000 (UTC) (envelope-from jhall@socket.net) Received: from mf5.socket.net (mf5b.socket.net [216.106.26.210]) by mx1.freebsd.org (Postfix) with ESMTP id 88D398FC5A for ; Tue, 11 Aug 2009 18:49:25 +0000 (UTC) Received: from [10.129.40.203] (216.106.12.14.reverse.socket.net [216.106.12.14]) by mf5.socket.net (Postfix) with ESMTP id 61A3B656FD; Tue, 11 Aug 2009 13:49:24 -0500 (CDT) Message-Id: <9D816CAA-73FA-4A30-BD97-FB38F9B1DC8C@socket.net> From: Jay Hall To: Roland Smith In-Reply-To: <20090811170947.GA88617@slackbox.xs4all.nl> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Tue, 11 Aug 2009 13:49:23 -0500 References: <6206A242-7226-48E3-8D09-A1D3A651F2A8@socket.net> <20090810162528.GA49364@slackbox.xs4all.nl> <20090810170921.GC49364@slackbox.xs4all.nl> <20090811170947.GA88617@slackbox.xs4all.nl> X-Mailer: Apple Mail (2.935.3) Cc: freebsd-questions@freebsd.org Subject: Re: Backup Size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Aug 2009 18:49:25 -0000 On Aug 11, 2009, at 12:09 PM, Roland Smith wrote: > > Just execute the tar command, and dump the output to /dev/null > through dd: > tar -cf - /etc |dd of=/dev/null > tar: Removing leading '/' from member names > 3160+0 records in > 3160+0 records out > 1617920 bytes transferred in 0.057690 secs (28045115 bytes/sec) > > This will give you the exact size without writing anything to disk. > Thanks. I had not thought of that. Jay