Re: How to read raw system disk
Re: How to read raw system disk
- Subject: Re: How to read raw system disk
- From: "Shawn Erickson" <email@hidden>
- Date: Thu, 13 Dec 2007 11:38:47 -0800
On Dec 13, 2007 9:55 AM, Navneet Kumar <email@hidden> wrote:
> Hi,
>
> I'm trying to write software that should access raw disk and analyze file
> system structures.
>
> For that I need to read /dev/rdisk0 . rdisk1 etc files.
>
>
>
> While I can open secondary hard disk (/dev/rdisk1) using POSIX function
> open(), it fails in case of system disk /dev/rdisk0 (permission denied).
>
> If this is not the right list then please point me to.
1) Please don't cross post.
2) Wrong lists try darwin-dev list.
3) You cannot get raw access to a mounted disk. (make sure to use
block aligned reads/writes when access raw devices)
-Shawn
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden