1752665 Members
5481 Online
108788 Solutions
New Discussion юеВ

Re: dd

 
SOLVED
Go to solution

dd

I'm using a program that uses dd to wipe disks with 1's and 0's, and it works on the secondary drive, but not on the primary (master) drive. Is there a reason for this?

Greg
qwerty uiop
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: dd

No, I assume you are writing to the raw device
e.g. /dev/rdsk/c0t6d0 as long as you have write permission dd can blast anything in sight. I suspect that you eith are trying to write to the wrong device node or what you think is a device node is simply a regular file. What errors are you seeing and if you do an "echo $?" immediately after the dd, what do you see?

Clay
If it ain't broke, I can fix that.

Re: dd

Thanks for the info. what I did was do the dd on the master disk, then boot off a new master disk with the old master disk in the secondary drive, then did the xd on the secondary drive
(cot2d0) Could something have been written to the secondary drive during the boot process?

Greg
qwerty uiop