Re: How-to erase a DVD-RW

2009-02-12 Thread Gary Kline
On Thu, Feb 12, 2009 at 09:44:03AM +0200, Manolis Kiagias wrote:
 Gary Kline wrote:
 iS there an easy way (by cmd-line) to erase a used DVD-RW?
 I tried K3B and can't figure out where to click!  
 
 tia,
 
 gary
 
 
   
 
 Try something like
 
 dvd+rw-format /dev/cd0 -blank
 
 dvd+rw-format comes with sysutils/dvd+rw-tools (you probably have it 
 installed already).


Super!  (I just tried and the flag is ``-force'', but it works:)


gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 2.23a release of Jottings: http://jottings.thought.org/index.php

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How-to erase a DVD-RW

2009-02-12 Thread Wojciech Puchar

iS there an easy way (by cmd-line) to erase a used DVD-RW?
I tried K3B and can't figure out where to click!


simply don't use easy to use GUI just use actual program which is 
growisofs and dvd+rw-format


recording 0 bytes DVD will do the trick, i don't see explicit cleaning 
option in growisofs now.


dvd+rw-format will clear DVD+RW disk.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How-to erase a DVD-RW

2009-02-12 Thread Polytropon
On Thu, 12 Feb 2009 10:16:26 +0100 (CET), Wojciech Puchar 
woj...@wojtek.tensor.gdynia.pl wrote:
 recording 0 bytes DVD will do the trick, i don't see explicit cleaning 
 option in growisofs now.

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'.



 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-unsubscr...@freebsd.org


Re: How-to erase a DVD-RW

2009-02-12 Thread Wojciech Puchar


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






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-unsubscr...@freebsd.org


Re: How-to erase a DVD-RW

2009-02-12 Thread Tim Judd

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-unsubscr...@freebsd.org


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How-to erase a DVD-RW

2009-02-12 Thread Wojciech Puchar

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.


yes it is

[woj...@wojtek ~/NOBACKUP]$ dd if=/dev/null of=/dev/null bs=1
0+0 records in
0+0 records out
0 bytes transferred in 0.37 secs (0 bytes/sec)


/dev/null simply gives EOF when trying to read
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How-to erase a DVD-RW

2009-02-12 Thread Chris Rees
2009/2/12 Wojciech Puchar woj...@wojtek.tensor.gdynia.pl:
 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.

 yes it is

 [woj...@wojtek ~/NOBACKUP]$ dd if=/dev/null of=/dev/null bs=1
 0+0 records in
 0+0 records out
 0 bytes transferred in 0.37 secs (0 bytes/sec)


 /dev/null simply gives EOF when trying to read


But we're talking about /dev/zero, not /dev/null ...

[ch...@zeus]~% dd if=/dev/zero of=/dev/null bs=2 count=5
5+0 records in
5+0 records out
10 bytes transferred in 0.50 secs (200684 bytes/sec)
[ch...@zeus]~%

Chris

-- 
R $h !  $- ! $+  $@ $2  @ $1 .UUCP.  (sendmail.cf)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How-to erase a DVD-RW

2009-02-12 Thread Tim Judd

Wojciech Puchar wrote:

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.


yes it is

[woj...@wojtek ~/NOBACKUP]$ dd if=/dev/null of=/dev/null bs=1
0+0 records in
0+0 records out
0 bytes transferred in 0.37 secs (0 bytes/sec)


/dev/null simply gives EOF when trying to read

we're not talking about null
we're talking about zero


Try again, maybe?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How-to erase a DVD-RW

2009-02-11 Thread Manolis Kiagias

Gary Kline wrote:

iS there an easy way (by cmd-line) to erase a used DVD-RW?
I tried K3B and can't figure out where to click!  


tia,

gary


  


Try something like

dvd+rw-format /dev/cd0 -blank

dvd+rw-format comes with sysutils/dvd+rw-tools (you probably have it 
installed already).

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org