Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2009 14:16:14 -0700
From:      Tim Judd <tajudd@gmail.com>
To:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
Cc:        Gary Kline <kline@thought.org>, Polytropon <freebsd@edvax.de>, FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: How-to erase a DVD-RW
Message-ID:  <4994919E.3000803@gmail.com>
In-Reply-To: <20090212141444.W81609@wojtek.tensor.gdynia.pl>
References:  <1234423939.27702.4.camel@ethos>	<20090212101453.I81232@wojtek.tensor.gdynia.pl>	<20090212105424.a710de5e.freebsd@edvax.de> <20090212141444.W81609@wojtek.tensor.gdynia.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
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"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4994919E.3000803>