From owner-freebsd-chat@FreeBSD.ORG Sun Jul 8 05:54:44 2007 Return-Path: X-Original-To: freebsd-chat@freebsd.org Delivered-To: freebsd-chat@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 25D2116A41F for ; Sun, 8 Jul 2007 05:54:44 +0000 (UTC) (envelope-from mse0206@yahoo.com) Received: from web58104.mail.re3.yahoo.com (web58104.mail.re3.yahoo.com [68.142.236.127]) by mx1.freebsd.org (Postfix) with SMTP id B00E813C4BB for ; Sun, 8 Jul 2007 05:54:43 +0000 (UTC) (envelope-from mse0206@yahoo.com) Received: (qmail 92678 invoked by uid 60001); 8 Jul 2007 05:28:01 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=A6t2QxpieVd+Gm29puv/QL8DIRlNKtjm9YCZgetm5YwUp6ijfKoVg65D0wHdxk29yGegw4jFF2bZboOD+u6fFrSmFFavogtHrnoZjqaPdvcn68NdMpqxxmIXToQ7cD1uhx7kF7BHVsot30YSs52y0YN4VknySldU8BzJslo2EnM=; X-YMail-OSG: ZukKLoIVM1lSYJpOdCAzy_h89jbD8LmvM.dL8k3AU9D4FjWKYFOCMqANx9.YMjs5Fw-- Received: from [71.93.15.161] by web58104.mail.re3.yahoo.com via HTTP; Sat, 07 Jul 2007 22:28:01 PDT Date: Sat, 7 Jul 2007 22:28:01 -0700 (PDT) From: Michael Eubanks To: freebsd-chat@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <669580.92520.qm@web58104.mail.re3.yahoo.com> Subject: compressed HDD image using dd...clearing unused blocks X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2007 05:54:44 -0000 Hello all, I am updating a system that has been around for some time now. I would like to make a compressed disk image after the final setup is complete, although, I'm guessing that the unused blocks will not allow me to compress the image as well as I could with a previously clean disk (considering the disk has been in use for some time now). Is there a way to do this - zero out unused blocks to optimize compression? I generally do this with Windows machines using the cipher command (killing cipher after it has finished writing zeroes). After running cipher I use dd to create a compressed HDD image for later use. I'd like to be able to do the same with FreeBSD. -Michael S. Eubanks mse0206@yahoo.com ____________________________________________________________________________________ Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow