How-to erase a DVD-RW
Chris Rees
utisoft at googlemail.com
Thu Feb 12 15:13:46 PST 2009
2009/2/12 Wojciech Puchar <wojtek at 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
>
> [wojtek at wojtek ~/NOBACKUP]$ dd if=/dev/null of=/dev/null bs=1
> 0+0 records in
> 0+0 records out
> 0 bytes transferred in 0.000037 secs (0 bytes/sec)
>
>
> /dev/null simply gives EOF when trying to read
But we're talking about /dev/zero, not /dev/null ...
[chris at 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.000050 secs (200684 bytes/sec)
[chris at zeus]~%
Chris
--
R< $&h ! > $- ! $+ $@ $2 < @ $1 .UUCP. > (sendmail.cf)
More information about the freebsd-questions
mailing list