Re: Raw backup and restore of disks in Mac OS X
Re: Raw backup and restore of disks in Mac OS X
- Subject: Re: Raw backup and restore of disks in Mac OS X
- From: Jean-Daniel Dupas <email@hidden>
- Date: Thu, 23 Apr 2009 10:37:22 +0200
Le 23 avr. 09 à 08:30, rohan a a écrit :
Hello,
I need to write code to do a raw backup/restore of a disk
in Mac OS X.
When I do a:
# diskutil list
It shows me the drives as disk0s1, disk0s2, disk0s3 etc.
However, when I do :
# ls -l /dev
It shows me disk0s1, disk0s2, disk0s3 (block device)etc. But along
with these it also shows rdisk0s1, rdisk0s2, rdisk0s3(character
device)
For a raw backup, what should I be using block device or character
device?
With Linux, I use the block devices and not the character devices.
Why reinventing the wheel ?
man hdiutil
man asr
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden