Raw backup and restore of disks in Mac OS X
Raw backup and restore of disks in Mac OS X
- Subject: Raw backup and restore of disks in Mac OS X
- From: rohan a <email@hidden>
- Date: Thu, 23 Apr 2009 12:00:00 +0530
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.
Thanks
_______________________________________________
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