Hi, I also tried the Disk Arbitrator, but I don't like loading even more
unnecessary utilities, so instead I use the fstab file.
Create a textfile called "fstab", no .txt or other extensions, in the /etc
directory, and put one line per volume that you don't want to automount.

UUID=put-your-uuid-here-xxxx-xxxxxxxxxxxx none hfs rw,noauto

You can look up the actual uuid from Disk Utility too.
If you use multiple systems on external disks/pendrives/partitions, copy the
fstab file to their /etc directory too to prevent slowness/further data
corruption.

But beware, the rescued image will have the same uuid, so it will also
prevent mounting that.
You can change the volume UUID on the copy (or on the original disk if you
are brave), see here:
http://superuser.com/questions/485105/unable-to-simultaneously-mount-hdd-and
-its-copy-on-osx

koll

PS: I re-CC-ing this email to [email protected], maybe others find
something useful in these emails.

From:  John

So you check your disk identifier using Disk Utility? Hmm... I didn't know
that was possible. I just looked and see that it *is* possible. I use the
terminal and do 
diskutil list

Do you use anything like Disk Arbitrator?

Thanks again.
John

koll wrote:
> The && symbol executes two commands. If the first succeeds, then it calls the
> second one. Of course you can execute the cp command separately, but I
> construct the whole combined command in a textfile, and when I create a new
> variant, the cp command is already there. I burnt myself once, when after
> restart, the bad hard drive become disk1 instead of disk0. (Always check it
> with Disk Utility after restart/drive reattach.) BTW, my currently running
> command:
> 
> cp /DDRESCUE/MacHD.log /DDRESCUE/MacHD_`date +%Y%m%d_%H%M`.log && sudo
> /DDRESCUE/ddrescue -vvvv --retry-passes=-1 --binary-prefixes --reopen-on-error
> --unidirectional --cluster-size=1 --data-preview=8 --min-read-rate=1Ki
> --complete-only /dev/rdisk0 /DDRESCUE/MacHD.dmg /DDRESCUE/MacHD.log


_______________________________________________
Bug-ddrescue mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-ddrescue

Reply via email to