From owner-freebsd-questions@FreeBSD.ORG Thu Feb 12 21:16:48 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 8108D1065673 for ; Thu, 12 Feb 2009 21:16:48 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.231]) by mx1.freebsd.org (Postfix) with ESMTP id 4C2218FC0A for ; Thu, 12 Feb 2009 21:16:48 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by rv-out-0506.google.com with SMTP id f6so471624rvb.43 for ; Thu, 12 Feb 2009 13:16:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=0PDlE/6H+F1xUPxsG3jJ6ppiT8U62gHt+3cQSpFxbj0=; b=WI5PPnzm3mipu1SQIcI7Kwvhh/aJHhUqN/UKyPnp4rdJ61VCbT+Ej7WAU9+NUDXFr+ fr6EiPT5IX0EJaCv/Vqr3aE869kpARUQ+4Nvnw/1pK43a/QDlL2g1Y+vIQcTVOuT+l+G qg0klXwAFrI/sLAGb14sXoQhRFtUyhBzft1M4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=pLUD5i6eZi3PP64cYxU7KdfLoAeJ29brBeJXeH8Mb6p9ALyf8d2pPwX8+kWX0Hqwzk MQqSDAlK/9vJrILBWCdHBO68lI5eDV2IOWG0e7eYjLfOpInXJxAsBL+hqNRdkN4iJlOo spg+6NPWMZP1JK/NDjKoBUPiJKccpuuJPwcBw= Received: by 10.141.177.2 with SMTP id e2mr762362rvp.71.1234473407856; Thu, 12 Feb 2009 13:16:47 -0800 (PST) Received: from ?192.168.4.44? (c-68-35-57-46.hsd1.nm.comcast.net [68.35.57.46]) by mx.google.com with ESMTPS id c20sm418953rvf.1.2009.02.12.13.16.46 (version=SSLv3 cipher=RC4-MD5); Thu, 12 Feb 2009 13:16:46 -0800 (PST) Message-ID: <4994919E.3000803@gmail.com> Date: Thu, 12 Feb 2009 14:16:14 -0700 From: Tim Judd User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Wojciech Puchar References: <1234423939.27702.4.camel@ethos> <20090212101453.I81232@wojtek.tensor.gdynia.pl> <20090212105424.a710de5e.freebsd@edvax.de> <20090212141444.W81609@wojtek.tensor.gdynia.pl> In-Reply-To: <20090212141444.W81609@wojtek.tensor.gdynia.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Gary Kline , Polytropon , FreeBSD Mailing List Subject: Re: How-to erase a DVD-RW 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: Thu, 12 Feb 2009 21:16:48 -0000 Wojciech Puchar wrote: >> >> The manpage of growisofs suggests this: >> >> Note that DVD+RW re-formatting procedure does not substitute >> for blank- >> ing. If you want to nullify the media, e.g. for privacy >> reasons, do it >> explicitly with 'growisofs -Z /dev/dvd=/dev/zero'. > > which is exactly what i suggested - writing 0 byte disc that writes binary 0, the ASCII "NUL" character. /dev/zero is NOT a zero-size file. Untested, and I don't use DVD RW medium as I don't have a need for it yet: growisofs -Z /dev/cd0=: the : is interpreted by the csh shell as an always true return value, to which you can use to truncate files: :>/boot/kernel/kernel #only the inexperienced may blindly try this. DON'T TRY THIS AT HOME OR WORK Given this logic, it should also return true for an input file. Try it. I'd be curious to see if it works. --Tim > >> >> >> >>> dvd+rw-format will clear DVD+RW disk. >> >> Definitely much easier. >> >> >> >> -- >> Polytropon >> From Magdeburg, Germany >> Happy FreeBSD user since 4.0 >> Andra moi ennepe, Mousa, ... >> >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"