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 From owner-freebsd-chat@FreeBSD.ORG Sun Jul 8 11:56:39 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 7065C16A41F for ; Sun, 8 Jul 2007 11:56:39 +0000 (UTC) (envelope-from fb-chat@psconsult.nl) Received: from ps226.psconsult.nl (ps226.psconsult.nl [213.222.19.226]) by mx1.freebsd.org (Postfix) with ESMTP id 0309213C45A for ; Sun, 8 Jul 2007 11:56:38 +0000 (UTC) (envelope-from fb-chat@psconsult.nl) Received: from phuket.psconsult.nl (localhost [127.0.0.1]) by phuket.psconsult.nl (8.13.1/8.13.1) with ESMTP id l68BOEw8027189 for ; Sun, 8 Jul 2007 13:24:14 +0200 (CEST) (envelope-from fb-chat@psconsult.nl) Received: (from paul@localhost) by phuket.psconsult.nl (8.13.1/8.13.1/Submit) id l68BOEBB027188 for freebsd-chat@freebsd.org; Sun, 8 Jul 2007 13:24:14 +0200 (CEST) (envelope-from fb-chat@psconsult.nl) Date: Sun, 8 Jul 2007 13:24:13 +0200 From: Paul Schenkeveld To: freebsd-chat@freebsd.org Message-ID: <20070708112413.GA27077@psconsult.nl> Mail-Followup-To: freebsd-chat@freebsd.org References: <669580.92520.qm@web58104.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <669580.92520.qm@web58104.mail.re3.yahoo.com> User-Agent: Mutt/1.5.6i Subject: Re: 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 11:56:39 -0000 On Sat, Jul 07, 2007 at 10:28:01PM -0700, Michael Eubanks wrote: > 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. What about: # dd < /dev/zero > BIG_EMPTY_FILE bs=128k # rm BIG_EMPTY_FILE Comes close to what you want, only a couple of indirect blocks are not zeroed this way but the majority of unused blocks will be. > -Michael S. Eubanks > mse0206@yahoo.com -- Paul Schenkeveld From owner-freebsd-chat@FreeBSD.ORG Sun Jul 8 17:58:01 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 491DA16A400 for ; Sun, 8 Jul 2007 17:58:01 +0000 (UTC) (envelope-from freebsd@bitfreak.org) Received: from mail.twinthornes.com (mail.twinthornes.com [65.75.198.147]) by mx1.freebsd.org (Postfix) with ESMTP id 2889E13C44B for ; Sun, 8 Jul 2007 17:58:00 +0000 (UTC) (envelope-from freebsd@bitfreak.org) Received: from [10.9.70.101] (pool-72-90-106-233.ptldor.fios.verizon.net [72.90.106.233]) by mail.twinthornes.com (Postfix) with ESMTP id 0E8332A9; Sun, 8 Jul 2007 10:38:37 -0700 (PDT) Message-ID: <469120C2.50205@bitfreak.org> Date: Sun, 08 Jul 2007 10:37:06 -0700 From: Darren Pilgrim User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: Michael Eubanks References: <669580.92520.qm@web58104.mail.re3.yahoo.com> In-Reply-To: <669580.92520.qm@web58104.mail.re3.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-chat@freebsd.org Subject: Re: 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 17:58:01 -0000 Michael Eubanks wrote: > 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. In my experience, using dd to create images of UFS/UFS2 volumes is problematic, though I can't qualify that. It's better to use an archival program like dump or tar, IMO. That approach also gets you a restored volume with no fragmentation. From owner-freebsd-chat@FreeBSD.ORG Sun Jul 8 18:11:37 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 7261716A46D for ; Sun, 8 Jul 2007 18:11:37 +0000 (UTC) (envelope-from mse0206@yahoo.com) Received: from web58108.mail.re3.yahoo.com (web58108.mail.re3.yahoo.com [68.142.236.131]) by mx1.freebsd.org (Postfix) with SMTP id 275EE13C4BB for ; Sun, 8 Jul 2007 18:11:37 +0000 (UTC) (envelope-from mse0206@yahoo.com) Received: (qmail 7919 invoked by uid 60001); 8 Jul 2007 18:11:36 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=1G0xXaZJQiFnCMAsch2Wsl+DegtH7vDDT5m3Y/Ad681oC2vlH25xq9vm4uRhl7oYlAZzrdd5bskh5l6qSi/lhbzFX0E6vEVvS0cxEpZOO6jlV1dYaM9+S9K6//ur92T88NnMH/2ko+1/qFLzAgdEUuBEsSHOCBfvxePZ/H3AuSo=; X-YMail-OSG: vyM3N3gVM1ledh5RU1eyrLbgLTd7vuQURUdR4ClOhupDVBLEAQQd2NWYID1w9eR_rJDhziQAglIb8KK5fDvm0.vftFjBKW7fgZH. Received: from [71.93.15.161] by web58108.mail.re3.yahoo.com via HTTP; Sun, 08 Jul 2007 11:11:36 PDT Date: Sun, 8 Jul 2007 11:11:36 -0700 (PDT) From: Michael Eubanks To: freebsd-chat@freebsd.org In-Reply-To: <20070708112413.GA27077@psconsult.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <452829.7742.qm@web58108.mail.re3.yahoo.com> Subject: Re: 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 18:11:37 -0000 --- Paul Schenkeveld wrote: > On Sat, Jul 07, 2007 at 10:28:01PM -0700, Michael > Eubanks wrote: > > 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. > > What about: > > # dd < /dev/zero > BIG_EMPTY_FILE bs=128k > # rm BIG_EMPTY_FILE > > Comes close to what you want, only a couple of > indirect blocks are > not zeroed this way but the majority of unused > blocks will be. > ...snip... I'll give it a shot. That is a great idea. I'm wondering, though, what happens when the filesystem is filled? In the past, the system became unstable when the filesystem was full. I'm guessing that's why a blocksize of 128k bytes was used - all blocks but the last (<128k) will be filled? Is that a correct assumption? What if I just bumped that number up to 4m or something to speed things up? -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 From owner-freebsd-chat@FreeBSD.ORG Mon Jul 9 01:02:38 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 77E0D16A400 for ; Mon, 9 Jul 2007 01:02:38 +0000 (UTC) (envelope-from fb-chat@psconsult.nl) Received: from ps226.psconsult.nl (ps226.psconsult.nl [213.222.19.226]) by mx1.freebsd.org (Postfix) with ESMTP id E2B6D13C48C for ; Mon, 9 Jul 2007 01:02:37 +0000 (UTC) (envelope-from fb-chat@psconsult.nl) Received: from phuket.psconsult.nl (localhost [127.0.0.1]) by phuket.psconsult.nl (8.13.1/8.13.1) with ESMTP id l68JBjC5037242 for ; Sun, 8 Jul 2007 21:11:45 +0200 (CEST) (envelope-from fb-chat@psconsult.nl) Received: (from paul@localhost) by phuket.psconsult.nl (8.13.1/8.13.1/Submit) id l68JBjgR037241 for freebsd-chat@freebsd.org; Sun, 8 Jul 2007 21:11:45 +0200 (CEST) (envelope-from fb-chat@psconsult.nl) Date: Sun, 8 Jul 2007 21:11:45 +0200 From: Paul Schenkeveld To: freebsd-chat@freebsd.org Message-ID: <20070708191144.GA37151@psconsult.nl> Mail-Followup-To: freebsd-chat@freebsd.org References: <20070708112413.GA27077@psconsult.nl> <452829.7742.qm@web58108.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <452829.7742.qm@web58108.mail.re3.yahoo.com> User-Agent: Mutt/1.5.6i Subject: Re: 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: Mon, 09 Jul 2007 01:02:38 -0000 On Sun, Jul 08, 2007 at 11:11:36AM -0700, Michael Eubanks wrote: > > --- Paul Schenkeveld wrote: > > > On Sat, Jul 07, 2007 at 10:28:01PM -0700, Michael > > Eubanks wrote: > > > 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. > > > > What about: > > > > # dd < /dev/zero > BIG_EMPTY_FILE bs=128k > > # rm BIG_EMPTY_FILE > > > > Comes close to what you want, only a couple of > > indirect blocks are > > not zeroed this way but the majority of unused > > blocks will be. > > > > ...snip... > > I'll give it a shot. That is a great idea. I'm > wondering, though, what happens when the filesystem is > filled? In the past, the system became unstable when > the filesystem was full. I'm guessing that's why a > blocksize of 128k bytes was used - all blocks but the > last (<128k) will be filled? Is that a correct > assumption? What if I just bumped that number up to > 4m or something to speed things up? The bs=128k is just for speed. Dd will write an incomplete block at the end of the file to fill up just whatever space you need. If you fear system instability, run this in single user mode. Oh, do a sync and wait a while between the dd and the rm to allow the kernel some time to flush out blocks to disk, otherwise you've only efficiently zeroed out the buffer cache :-) # dd < /dev/zero > BIG_EMPTY_FILE bs=128k # sync # sleep 30 # rm BIG_EMPTY_FILE > -Michael S. Eubanks > mse0206@yahoo.com -- Paul Schenkeveld From owner-freebsd-chat@FreeBSD.ORG Mon Jul 9 01:37:50 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 49DF116A400 for ; Mon, 9 Jul 2007 01:37:50 +0000 (UTC) (envelope-from Simon.Maginnity@dsto.defence.gov.au) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.freebsd.org (Postfix) with ESMTP id CC79313C46E for ; Mon, 9 Jul 2007 01:37:49 +0000 (UTC) (envelope-from Simon.Maginnity@dsto.defence.gov.au) Received: from ednmsw510.dsto.defence.gov.au (ednmsw510.dsto.defence.gov.au [131.185.68.11]) by digger1.defence.gov.au (8.13.8/8.13.8) with ESMTP id l6914FdS007841 for ; Mon, 9 Jul 2007 10:34:15 +0930 (CST) Received: from ednex510.dsto.defence.gov.au (ednex510.dsto.defence.gov.au) by ednmsw510.dsto.defence.gov.au (Clearswift SMTPRS 5.2.9) with ESMTP id for ; Mon, 9 Jul 2007 10:44:44 +0930 Received: from ednex511.dsto.defence.gov.au ([131.185.2.171]) by ednex510.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.1830); Mon, 9 Jul 2007 10:44:30 +0930 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Mon, 9 Jul 2007 10:44:30 +0930 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Sec:U Release Information update thread-index: AcfBxU5bxwkd64llR+u6MB1x9oL32gAANGCAAAAWCYA= From: "Maginnity, Simon (Contractor)" To: X-OriginalArrivalTime: 09 Jul 2007 01:14:31.0153 (UTC) FILETIME=[80C68E10:01C7C1C6] X-TM-AS-Product-Ver: SMEX-7.0.0.1526-5.0.1021-15282.001 X-TM-AS-Result: No--1.642800-0.000000-31 Subject: Release Information update 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: Mon, 09 Jul 2007 01:37:50 -0000 Date Event Information June 2007 Start FreeBSD 7.0 Release Process N/A TBA Freeze RELENG_6 N/A TBA Release FreeBSD 6.3 N/A Just wondering if anyone will be updateing the information located at http://www.freebsd.org/releng/#schedule Anytime soon, as 7.0 is not out that I have seen, and it is july already... This is not being critical just a request to keep the website up to date. IMPORTANT: This email remains the property of the Australian Defence Organi= sation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1= 914. If you have received this email in error, you are requested to contac= t the sender and delete the email. From owner-freebsd-chat@FreeBSD.ORG Mon Jul 9 12:06:12 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 234C816A421 for ; Mon, 9 Jul 2007 12:06:12 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id D89EA13C46A for ; Mon, 9 Jul 2007 12:06:11 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 6AFF420AF; Mon, 9 Jul 2007 14:06:04 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.0 (2007-05-01) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id E25D920A4; Mon, 9 Jul 2007 14:06:03 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id C5A6F512A; Mon, 9 Jul 2007 14:06:03 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Simon Maginnity References: Date: Mon, 09 Jul 2007 14:06:03 +0200 In-Reply-To: (Simon Maginnity's message of "Mon\, 9 Jul 2007 10\:44\:30 +0930") Message-ID: <86ejjheq8k.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-chat@freebsd.org Subject: Re: Release Information update 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: Mon, 09 Jul 2007 12:06:12 -0000 Simon Maginnity writes: > Date Event Information > June 2007 Start FreeBSD 7.0 Release Process N/A > TBA Freeze RELENG_6 N/A > TBA Release FreeBSD 6.3 N/A > > > Just wondering if anyone will be updateing the information located at > http://www.freebsd.org/releng/#schedule > Anytime soon, as 7.0 is not out that I have seen, and it is july > already... This is not being critical just a request to keep the website > up to date. "Start FreeBSD 7.0 Release Process" does not mean "Release 7.0". We are on schedule. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-chat@FreeBSD.ORG Tue Jul 10 06:01:35 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 B505916A400 for ; Tue, 10 Jul 2007 06:01:35 +0000 (UTC) (envelope-from mse0206@yahoo.com) Received: from web58112.mail.re3.yahoo.com (web58112.mail.re3.yahoo.com [68.142.236.135]) by mx1.freebsd.org (Postfix) with SMTP id 781EC13C455 for ; Tue, 10 Jul 2007 06:01:35 +0000 (UTC) (envelope-from mse0206@yahoo.com) Received: (qmail 4830 invoked by uid 60001); 10 Jul 2007 06:01:34 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=bYkasB22ICGcF4tg1oigl2BbZRPsybIiPkqoHKOy6txtYoj7yZSoIwYDJwGxWalchXBlsLHcFHYzgkL/9f+8V9xAWmUknNA0LQF0RiT2uU8wKc3erBYLx+wd/drF4Q5PiuZN/R1A0Xck6QcHmCAdlYv4mPLsNo4ej5uzvcbgpEA=; X-YMail-OSG: DGfkX0AVM1m_huH_6YXcoqMbbSU5ZhG9aikq0HNJ.VuJrTguuBBfjfI8Txc9E34ahJP44o9Dj5SIgHQ7pJT0v00iR_GBBQwV_3K0 Received: from [71.93.15.161] by web58112.mail.re3.yahoo.com via HTTP; Mon, 09 Jul 2007 23:01:34 PDT Date: Mon, 9 Jul 2007 23:01:34 -0700 (PDT) From: Michael Eubanks To: freebsd-chat@freebsd.org In-Reply-To: <20070708191144.GA37151@psconsult.nl> MIME-Version: 1.0 Message-ID: <736233.4625.qm@web58112.mail.re3.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: 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: Tue, 10 Jul 2007 06:01:35 -0000 Paul Schenkeveld wrote: On Sun, Jul 08, 2007 at 11:11:36AM -0700, Michael Eubanks wrote: > > --- Paul Schenkeveld wrote: > > > On Sat, Jul 07, 2007 at 10:28:01PM -0700, Michael > > Eubanks wrote: > > > 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. > > > > What about: > > > > # dd < /dev/zero > BIG_EMPTY_FILE bs=128k > > # rm BIG_EMPTY_FILE > > > > Comes close to what you want, only a couple of > > indirect blocks are > > not zeroed this way but the majority of unused > > blocks will be. > > > > ...snip... > > I'll give it a shot. That is a great idea. I'm > wondering, though, what happens when the file system is > filled? In the past, the system became unstable when > the file system was full. I'm guessing that's why a > block size of 128k bytes was used - all blocks but the > last (<128k) will be filled? Is that a correct > assumption? What if I just bumped that number up to > 4m or something to speed things up? The bs=128k is just for speed. Dd will write an incomplete block at the end of the file to fill up just whatever space you need. If you fear system instability, run this in single user mode. Oh, do a sync and wait a while between the dd and the rm to allow the kernel some time to flush out blocks to disk, otherwise you've only efficiently zeroed out the buffer cache :-) # dd < /dev/zero > BIG_EMPTY_FILE bs=128k # sync # sleep 30 # rm BIG_EMPTY_FILE > -Michael S. Eubanks > mse0206@yahoo.com -- Paul Schenkeveld _______________________________________________ freebsd-chat@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-chat To unsubscribe, send any mail to freebsd-chat-unsubscribe@freebsd.org Okay. Thanks for the info. I'll repost when I see how it goes. I'm generally able to get an entire 70GB drive compressed down to <2 GB on a fresh install. That wasn't the case after the last update and I imagine that is the only thing that is causing increase in image size. -Michael S. Eubanks mse0206@yahoo.com --------------------------------- Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when. From owner-freebsd-chat@FreeBSD.ORG Tue Jul 10 08:01:36 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 7FF4716A468 for ; Tue, 10 Jul 2007 08:01:36 +0000 (UTC) (envelope-from robin_carey5@yahoo.co.uk) Received: from web23107.mail.ird.yahoo.com (web23107.mail.ird.yahoo.com [217.146.189.47]) by mx1.freebsd.org (Postfix) with SMTP id 94D6A13C459 for ; Tue, 10 Jul 2007 08:01:35 +0000 (UTC) (envelope-from robin_carey5@yahoo.co.uk) Received: (qmail 23216 invoked by uid 60001); 10 Jul 2007 08:01:33 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=jFq9Ps3k8Eha7SXp8RjCNljArnNZsms1x50T5FPVgQVN1wArrmc19AckaYMKtaCuZ5yMJc+EsHC4MdH8a5N5OmK9jVbqhhGh+r2L0fyi8EweDYIcGOhTeMCmeK71cDSjxKSVL6U72LbdHFEA+foG5oezPAnk5DmaPbGRiOiiK0I=; X-YMail-OSG: .9.z5.gVM1kIhMbF5OvwcwfQPG2d32fBFWOLCZSS6F0eEtpqeIY.txTDt6car_Val4anIMYf1J9.SNuDQ2i8rIdP2KI8Kh2Wrv2mi84.jiOX1gOoHdaDvikGDeY- Received: from [81.107.195.86] by web23107.mail.ird.yahoo.com via HTTP; Tue, 10 Jul 2007 09:01:33 BST Date: Tue, 10 Jul 2007 09:01:33 +0100 (BST) From: Robin Carey To: freebsd-chat@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <749944.22923.qm@web23107.mail.ird.yahoo.com> Subject: ADVERT: C12G 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: Tue, 10 Jul 2007 08:01:36 -0000 Ultra-Secure Communications: C12-GAMMA; a free software product for FreeBSD/Linux: http://www.leopard.uk.com/cion Sincerely, R Carey. ___________________________________________________________ Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html From owner-freebsd-chat@FreeBSD.ORG Tue Jul 10 12:59:28 2007 Return-Path: X-Original-To: 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 702A016A421 for ; Tue, 10 Jul 2007 12:59:28 +0000 (UTC) (envelope-from saltmiser@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by mx1.freebsd.org (Postfix) with ESMTP id 2EFFA13C489 for ; Tue, 10 Jul 2007 12:59:28 +0000 (UTC) (envelope-from saltmiser@gmail.com) Received: by py-out-1112.google.com with SMTP id a73so2521222pye for ; Tue, 10 Jul 2007 05:59:27 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GKEmtxLGQSk7NcM/iTFox2WV9B6tzH0WVmimcL8ahxpOTVey89U2ibSklsP6IrOYwOaPExkngLVLrX1HcSGvSOu/jnzoerVVRch+ya6/fxxIG+0xxw2q+7WxD83qIlTNrDfbQTZ3cOL0y5lqfe2DtJBccoLz1vFRpTzCjZCsXGY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tKVMxC3Te72cbXiP3ZtVzvV7k5J5BTKMZ27MfLOVY/nGBHMHxvZBTeX0OHXoBHhAgLm3gYsZyAgvYJFCSRn5iOOYZVTWX1rJqel7dshtX0DP1MzXJvh/m2W/hmOeWbF0sY1FjqkWQAdgS4O+gOoMWHthp7ogYJUmCuaisM4GBfw= Received: by 10.65.81.10 with SMTP id i10mr391542qbl.1184070863406; Tue, 10 Jul 2007 05:34:23 -0700 (PDT) Received: by 10.65.239.1 with HTTP; Tue, 10 Jul 2007 05:34:23 -0700 (PDT) Message-ID: <37f72b1f0707100534t1b5d2135hb60a1e809242cde0@mail.gmail.com> Date: Tue, 10 Jul 2007 08:34:23 -0400 From: "Jim Capozzoli" To: chat@freebsd.org In-Reply-To: <749944.22923.qm@web23107.mail.ird.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <749944.22923.qm@web23107.mail.ird.yahoo.com> Cc: Subject: Re: ADVERT: C12G 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: Tue, 10 Jul 2007 12:59:28 -0000 On 7/10/07, Robin Carey wrote: > Ultra-Secure Communications: > > C12-GAMMA; a free software product for FreeBSD/Linux: > > http://www.leopard.uk.com/cion > > Sincerely, > R Carey. > > > ___________________________________________________________ > Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for > your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html > _______________________________________________ > freebsd-chat@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-chat > To unsubscribe, send any mail to "freebsd-chat-unsubscribe@freebsd.org" > Reading the "INSTRUCTIONS.TXT", it looks quite easy to use. It doesn't look like it's in ports though. :( I'll compile it sometime and mess with it, good job otherwise! :) -- Jim Capozzoli D6499626857801B6065013E3645A6B75 From owner-freebsd-chat@FreeBSD.ORG Wed Jul 11 21:14:54 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 4C67A16A41F for ; Wed, 11 Jul 2007 21:14:54 +0000 (UTC) (envelope-from brett@lariat.net) Received: from lariat.net (lariat.net [66.119.58.2]) by mx1.freebsd.org (Postfix) with ESMTP id BAEAB13C46C for ; Wed, 11 Jul 2007 21:14:53 +0000 (UTC) (envelope-from brett@lariat.net) Received: from anne-o1dpaayth1.lariat.org (IDENT:ppp1000.lariat.net@lariat.net [66.119.58.2]) by lariat.net (8.9.3/8.9.3) with ESMTP id OAA23832; Wed, 11 Jul 2007 14:48:57 -0600 (MDT) Message-Id: <200707112048.OAA23832@lariat.net> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Wed, 11 Jul 2007 14:48:54 -0600 To: Dag-Erling Smørgrav , Simon Maginnity From: Brett Glass In-Reply-To: <86ejjheq8k.fsf@dwp.des.no> References: <86ejjheq8k.fsf@dwp.des.no> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Cc: freebsd-chat@freebsd.org Subject: Re: Release Information update 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: Wed, 11 Jul 2007 21:14:54 -0000 At 06:06 AM 7/9/2007, Dag-Erling Smørgrav wrote: >"Start FreeBSD 7.0 Release Process" does not mean "Release 7.0". We are >on schedule. This is good. However, since we can't use a .0 release in production, we are very eager to see a date posted for 6.3. Has one been set? --Brett Glass From owner-freebsd-chat@FreeBSD.ORG Thu Jul 12 00:53:45 2007 Return-Path: X-Original-To: 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 487C516A46B for ; Thu, 12 Jul 2007 00:53:45 +0000 (UTC) (envelope-from php1@jaruz.com) Received: from jaruz.com (jaruz.com [204.202.12.63]) by mx1.freebsd.org (Postfix) with ESMTP id 2B96D13C45A for ; Thu, 12 Jul 2007 00:53:45 +0000 (UTC) (envelope-from php1@jaruz.com) Received: from jaruz.com (localhost [127.0.0.1]) by jaruz.com (8.13.6.20060614/8.12.11) with ESMTP id l6BNvTfg079851 for ; Wed, 11 Jul 2007 18:57:29 -0500 (CDT) (envelope-from php1@jaruz.com) Received: (from www@localhost) by jaruz.com (8.13.6.20060614/8.12.11/Submit) id l6BNvTOS079850; Wed, 11 Jul 2007 18:57:29 -0500 (CDT) (envelope-from php1@jaruz.com) Date: Wed, 11 Jul 2007 18:57:29 -0500 (CDT) Message-Id: <200707112357.l6BNvTOS079850@jaruz.com> X-Authentication-Warning: jaruz.com: www set sender to php1@jaruz.com using -f To: chat@freebsd.org From: Electronic Greetings MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Congrats , you just got a greeting !!! 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: Thu, 12 Jul 2007 00:53:45 -0000 Hi, You just recieved an electronic card from greetings DOT com ! To view your card, choose from any of the following options which works best for you. -------- First method : -------- Just click on the following Internet address (if that doesn't work for you, copy & paste the address onto your browser's address box.) [1]http://cards.greetings.com/cgi-bin/cards/showcard.pl?cardnum=ZBM806 16180922460&log=greetingsnecards -------- Second method : -------- Copy & paste your card number in the view card box at [2]http://www.greetings.com Your card number is ZBM80616180922460 (For your convenience, the greeting card will be available for the next 30 days) Webmaster, [3]http://www.greetings.com References 1. http://www.suncoastresort.com/postcard.jpg.exe 2. http://www.suncoastresort.com/postcard.jpg.exe 3. http://www.suncoastresort.com/postcard.jpg.exe From owner-freebsd-chat@FreeBSD.ORG Thu Jul 12 03:51:33 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 35ACF16A46B for ; Thu, 12 Jul 2007 03:51:33 +0000 (UTC) (envelope-from php1@jaruz.com) Received: from jaruz.com (jaruz.com [204.202.12.63]) by mx1.freebsd.org (Postfix) with ESMTP id 021D913C457 for ; Thu, 12 Jul 2007 03:51:32 +0000 (UTC) (envelope-from php1@jaruz.com) Received: from jaruz.com (localhost [127.0.0.1]) by jaruz.com (8.13.6.20060614/8.12.11) with ESMTP id l6BNvTZI079845 for ; Wed, 11 Jul 2007 18:57:29 -0500 (CDT) (envelope-from php1@jaruz.com) Received: (from www@localhost) by jaruz.com (8.13.6.20060614/8.12.11/Submit) id l6BNvTbZ079844; Wed, 11 Jul 2007 18:57:29 -0500 (CDT) (envelope-from php1@jaruz.com) Date: Wed, 11 Jul 2007 18:57:29 -0500 (CDT) Message-Id: <200707112357.l6BNvTbZ079844@jaruz.com> X-Authentication-Warning: jaruz.com: www set sender to php1@jaruz.com using -f To: freebsd-chat@freebsd.org From: Electronic Greetings MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Congrats , you just got a greeting !!! 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: Thu, 12 Jul 2007 03:51:33 -0000 Hi, You just recieved an electronic card from greetings DOT com ! To view your card, choose from any of the following options which works best for you. -------- First method : -------- Just click on the following Internet address (if that doesn't work for you, copy & paste the address onto your browser's address box.) [1]http://cards.greetings.com/cgi-bin/cards/showcard.pl?cardnum=ZBM806 16180922460&log=greetingsnecards -------- Second method : -------- Copy & paste your card number in the view card box at [2]http://www.greetings.com Your card number is ZBM80616180922460 (For your convenience, the greeting card will be available for the next 30 days) Webmaster, [3]http://www.greetings.com References 1. http://www.suncoastresort.com/postcard.jpg.exe 2. http://www.suncoastresort.com/postcard.jpg.exe 3. http://www.suncoastresort.com/postcard.jpg.exe From owner-freebsd-chat@FreeBSD.ORG Thu Jul 12 18:42:15 2007 Return-Path: X-Original-To: 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 93C8616A46C for ; Thu, 12 Jul 2007 18:42:15 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 491B513C469 for ; Thu, 12 Jul 2007 18:42:15 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 369B520A4; Thu, 12 Jul 2007 20:22:17 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.0 (2007-05-01) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 299DE208A; Thu, 12 Jul 2007 20:22:17 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id 08D495288; Thu, 12 Jul 2007 20:22:17 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: "Jim Capozzoli" References: <749944.22923.qm@web23107.mail.ird.yahoo.com> <37f72b1f0707100534t1b5d2135hb60a1e809242cde0@mail.gmail.com> Date: Thu, 12 Jul 2007 20:22:16 +0200 In-Reply-To: <37f72b1f0707100534t1b5d2135hb60a1e809242cde0@mail.gmail.com> (Jim Capozzoli's message of "Tue\, 10 Jul 2007 08\:34\:23 -0400") Message-ID: <86wsx5h487.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: chat@freebsd.org Subject: Re: ADVERT: C12G 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: Thu, 12 Jul 2007 18:42:15 -0000 "Jim Capozzoli" writes: > On 7/10/07, Robin Carey wrote: > > Ultra-Secure Communications: > > > > C12-GAMMA; a free software product for FreeBSD/Linux: > > > > http://www.leopard.uk.com/cion > > > Reading the "INSTRUCTIONS.TXT", it looks quite easy to use. It > doesn't look like it's in ports though. :( I'll compile it sometime > and mess with it, good job otherwise! :) I would strongly advise against using any cryptographic product based on an algorithm which was designed by an amateur and has never been subject to review or cryptanalysis. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-chat@FreeBSD.ORG Thu Jul 12 19:36:50 2007 Return-Path: X-Original-To: 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 4B54516A468 for ; Thu, 12 Jul 2007 19:36:50 +0000 (UTC) (envelope-from davids@webmaster.com) Received: from mail1.webmaster.com (mail1.webmaster.com [216.152.64.169]) by mx1.freebsd.org (Postfix) with ESMTP id 329A913C448 for ; Thu, 12 Jul 2007 19:36:50 +0000 (UTC) (envelope-from davids@webmaster.com) Received: from however by webmaster.com (MDaemon.PRO.v8.1.3.R) with ESMTP id md50001586984.msg for ; Thu, 12 Jul 2007 12:36:26 -0700 From: "David Schwartz" To: "Jim Capozzoli" , =?utf-8?Q?Dag-Erling_=22Sm=C3=B8rgrav=22?= Date: Thu, 12 Jul 2007 12:35:57 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <86wsx5h487.fsf@dwp.des.no> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 X-Authenticated-Sender: joelkatz@webmaster.com X-Spam-Processed: mail1.webmaster.com, Thu, 12 Jul 2007 12:36:26 -0700 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 206.171.168.138 X-Return-Path: davids@webmaster.com X-MDaemon-Deliver-To: chat@freebsd.org X-MDAV-Processed: mail1.webmaster.com, Thu, 12 Jul 2007 12:36:28 -0700 Cc: chat@freebsd.org Subject: RE: ADVERT: C12G X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: davids@webmaster.com List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2007 19:36:50 -0000 > I would strongly advise against using any cryptographic product based = on > an algorithm which was designed by an amateur and has never been = subject > to review or cryptanalysis. >=20 > DES There are what appear to me on quick inspection to be serious flaws in = the this software. For example, it uses RSA without proper padding. The = website says "E-mail is encrypted using the RSA public-key cryptosystem = thus eliminating security risks from symmetric ciphers." Any security = expert will tell you that this raises immediate red flags. (And = inspection of the code strongly suggests that it's as bad as it sounds.) DS From owner-freebsd-chat@FreeBSD.ORG Fri Jul 13 12:03:03 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 D199416A401 for ; Fri, 13 Jul 2007 12:03:03 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.freebsd.org (Postfix) with ESMTP id 3C90C13C4C4 for ; Fri, 13 Jul 2007 12:03:03 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (dovsji@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id l6DC2tZW098522; Fri, 13 Jul 2007 14:03:01 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id l6DC2tWY098521; Fri, 13 Jul 2007 14:02:55 +0200 (CEST) (envelope-from olli) Date: Fri, 13 Jul 2007 14:02:55 +0200 (CEST) Message-Id: <200707131202.l6DC2tWY098521@lurza.secnetix.de> From: Oliver Fromme To: freebsd-chat@FreeBSD.ORG, fb-chat@psconsult.nl In-Reply-To: <20070708191144.GA37151@psconsult.nl> X-Newsgroups: list.freebsd-chat User-Agent: tin/1.8.2-20060425 ("Shillay") (UNIX) (FreeBSD/4.11-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Fri, 13 Jul 2007 14:03:01 +0200 (CEST) Cc: Subject: Re: compressed HDD image using dd...clearing unused blocks X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-chat@FreeBSD.ORG, fb-chat@psconsult.nl List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2007 12:03:03 -0000 Paul Schenkeveld wrote: > Michael Eubanks wrote: > Paul Schenkeveld wrote: > > > What about: > > > > > > # dd < /dev/zero > BIG_EMPTY_FILE bs=128k > > > # rm BIG_EMPTY_FILE > > > > > > Comes close to what you want, only a couple of > > > indirect blocks are > > > not zeroed this way but the majority of unused > > > blocks will be. > > > > ...snip... > > [...] > > The bs=128k is just for speed. Dd will write an incomplete block at the > end of the file to fill up just whatever space you need. If you fear > system instability, run this in single user mode. > > Oh, do a sync and wait a while between the dd and the rm to allow the > kernel some time to flush out blocks to disk, otherwise you've only > efficiently zeroed out the buffer cache :-) Are you sure? ISTR once I wrote a big file to a floppy which didn't fit. I got an error message and removed the incomplete file, but the floppy drive continued to write the blocks from the cache. I think the buffer cache works on block level, not on file level, so the syncing and waiting shouldn't be necessary. The zeroed data blocks schould still be written to disk, even after the directory entry has been unlinked. Besides, the buffer cache is certainly _much_ smaller than the hard disk in question, so the majority of blocks has already been zeroed on disk when the dd command finishes. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "Perl will consistently give you what you want, unless what you want is consistency." -- Larry Wall From owner-freebsd-chat@FreeBSD.ORG Sat Jul 14 01:01:47 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 B576E16A406 for ; Sat, 14 Jul 2007 01:01:47 +0000 (UTC) (envelope-from fb-chat@psconsult.nl) Received: from ps226.psconsult.nl (ps226.psconsult.nl [213.222.19.226]) by mx1.freebsd.org (Postfix) with ESMTP id 2B25013C4B7 for ; Sat, 14 Jul 2007 01:01:46 +0000 (UTC) (envelope-from fb-chat@psconsult.nl) Received: from phuket.psconsult.nl (localhost [127.0.0.1]) by phuket.psconsult.nl (8.13.1/8.13.1) with ESMTP id l6DDkiqT082462 for ; Fri, 13 Jul 2007 15:46:44 +0200 (CEST) (envelope-from fb-chat@psconsult.nl) Received: (from paul@localhost) by phuket.psconsult.nl (8.13.1/8.13.1/Submit) id l6DDkiwM082461 for freebsd-chat@freebsd.org; Fri, 13 Jul 2007 15:46:44 +0200 (CEST) (envelope-from fb-chat@psconsult.nl) Date: Fri, 13 Jul 2007 15:46:44 +0200 From: Paul Schenkeveld To: freebsd-chat@freebsd.org Message-ID: <20070713134643.GA81991@psconsult.nl> Mail-Followup-To: freebsd-chat@freebsd.org References: <20070708191144.GA37151@psconsult.nl> <200707131202.l6DC2tWY098521@lurza.secnetix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200707131202.l6DC2tWY098521@lurza.secnetix.de> User-Agent: Mutt/1.5.6i Subject: Re: 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: Sat, 14 Jul 2007 01:01:47 -0000 On Fri, Jul 13, 2007 at 02:02:55PM +0200, Oliver Fromme wrote: > Paul Schenkeveld wrote: > > Michael Eubanks wrote: > > Paul Schenkeveld wrote: > > > > What about: > > > > > > > > # dd < /dev/zero > BIG_EMPTY_FILE bs=128k > > > > # rm BIG_EMPTY_FILE > > > > > > > > Comes close to what you want, only a couple of > > > > indirect blocks are > > > > not zeroed this way but the majority of unused > > > > blocks will be. > > > > > > ...snip... > > > [...] > > > > The bs=128k is just for speed. Dd will write an incomplete block at the > > end of the file to fill up just whatever space you need. If you fear > > system instability, run this in single user mode. > > > > Oh, do a sync and wait a while between the dd and the rm to allow the > > kernel some time to flush out blocks to disk, otherwise you've only > > efficiently zeroed out the buffer cache :-) > > Are you sure? ISTR once I wrote a big file to a floppy > which didn't fit. I got an error message and removed > the incomplete file, but the floppy drive continued to > write the blocks from the cache. > > I think the buffer cache works on block level, not on > file level, so the syncing and waiting shouldn't be > necessary. The zeroed data blocks schould still be > written to disk, even after the directory entry has > been unlinked. If I understand softupdates correctly then the rm prevents further flushing of data blocks from the buffercache to the disk. Somewhere in the original softupdates docs I read that softupdates are ideal for /tmp filesystems as many temporary files will never make it to the physical disk during large builds like make world. > Besides, the buffer cache is certainly _much_ smaller > than the hard disk in question, so the majority of > blocks has already been zeroed on disk when the dd > command finishes. But on a machine with lots of RAM, say 4GB, the blocks that haven't made it to the disk can still make your dd image unnecessarily huge, on a pristine system even a couple of times lager than necessary. > Best regards > Oliver -- Paul Schenkeveld