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.000037 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.000050 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"

Reply via email to