Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Aug 2009 13:49:23 -0500
From:      Jay Hall <jhall@socket.net>
To:        Roland Smith <rsmith@xs4all.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Backup Size
Message-ID:  <9D816CAA-73FA-4A30-BD97-FB38F9B1DC8C@socket.net>
In-Reply-To: <20090811170947.GA88617@slackbox.xs4all.nl>
References:  <6206A242-7226-48E3-8D09-A1D3A651F2A8@socket.net> <20090810162528.GA49364@slackbox.xs4all.nl> <20090810170921.GC49364@slackbox.xs4all.nl> <D0D2566C-8912-4F77-BB54-714C7DB4B2D2@socket.net> <20090811170947.GA88617@slackbox.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9D816CAA-73FA-4A30-BD97-FB38F9B1DC8C>