Re: How do I read sectors of disk in objective c cocoa application?
Re: How do I read sectors of disk in objective c cocoa application?
- Subject: Re: How do I read sectors of disk in objective c cocoa application?
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Wed, 7 Dec 2011 17:04:02 +0000
On 7 Dec 2011, at 14:03, Waqar Ahmad wrote:
> I just want to read mounted drives programmatically and want to write hex values into a file [...]
I don't think it's feasible to attain this goal, on two fronts:
o There's no supported way to write data to a disk that's mounted.
o Even if you unmount the disk, writing data to file on an unmounted disk is very hard (you basically have to reimplement the file system used to create that disk, interpreting all of the logic volume structure yourself).
If you just want to write values to a file, why don't you write them using the file system APIs?
Share and Enjoy
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden