[ale] dd and cat

Ken N kenn at pcintelligent.com
Fri Jun 9 11:41:01 EDT 2000


I believe dd is better at error checking as it writes the file. Cat just
dumps the data there and doesn't know if there was an error. 

http://cleveland.lug.net/~rocket/

The answer is simple if you grant that ironies are like submarines; 
dangerous only when submerged.


On Fri, 9 Jun 2000, Ben Phillips wrote:

> If I want to replicate, say, a floppy disk, I can do it with 'cat /dev/fd0 >
> image' followed by repeated instances of 'cat image > /dev/fd0'.
> 
> But the recommended way to do that is usually with 'dd' instead.  Why?  What
> do they do different?
> 
> 
>                       __   _                 
> Ben Phillips         /  '_' )         ,,,    "Bulls do not win bull fights;
> pynk at cc.gatech.edu   |  | ()|||||||||[:::)    people do.  People do not win
>                      \__.-._)         '''     people fights; lawyers do."
>                                                    -- Norman Augustine
> 
> --
> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
> 

--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list