Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2009 23:13:45 +0000
From:      Chris Rees <utisoft@googlemail.com>
To:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
Cc:        Tim Judd <tajudd@gmail.com>, 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:  <b79ecaef0902121513r210b175cr1aa57d350e136370@mail.gmail.com>
In-Reply-To: <20090212235111.D97916@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> <4994919E.3000803@gmail.com> <20090212235111.D97916@wojtek.tensor.gdynia.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/2/12 Wojciech Puchar <wojtek@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@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@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@zeus]~%

Chris

-- 
R< $&h ! > $- ! $+	$@ $2 < @ $1 .UUCP. > (sendmail.cf)



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