[SunHELP] block vs raw device?

Meng, Andrew sunhelp at sunhelp.org
Wed Jul 11 15:58:01 CDT 2001


Hello,

According to my understanding, hard drive can be accessed by either raw
device or block device. When I use dd to copy from one slice to another one,
what device should I use, raw or block device?

dd if=/dev/rdsk/c0t1d0s2 of=/dev/rdsk/c0t4d0s2 bs=128  or 

dd if=/dev/dsk/c0t1d0s2 of=/dev/dsk/c0t4d0s2 bs=128  

Which one is better, why?

Thanks a lot!

Andrew
 
**************************************************************************
The Information transmitted herewith is sensitive information intended only
for use to the individual or entity to which it is addressed. If the reader
of this message is not the intended recipient, you are hereby notified that
any review, retransmission, dissemination, distribution, copying or other
use of, or taking of any action in reliance upon, this information is
strictly prohibited. If you have received this communication in error,
please contact the sender and delete the material from your computer.



More information about the SunHELP mailing list