Re: Reading HFS Standard Block0 on USB thumb drives
Re: Reading HFS Standard Block0 on USB thumb drives
- Subject: Re: Reading HFS Standard Block0 on USB thumb drives
- From: Alison Cassidy <email@hidden>
- Date: Fri, 13 Jan 2012 18:49:09 -0800
Hi there,
I'm no expert, but have you tried running something like 'dd if=/dev/rdisk1 bs=512 count=1 | xxd' from the command-line? I just tried this on an old APM-formatted drive I have here and everything looks okay ....
-- Allie
On Jan 13, 2012, at 6:39 PM, Mike wrote:
> Hi,
>
> I am trying to read a Block0 driver descriptor map from old-style Apple Partition Map formatted USB thumb drives which were formatted using Mac OS Standard (HFS) on OS 9. I am using Xcode 4.2 on 10.6.8.
>
> But when I do the read the entire Block0 structure comes back filled with zeros. I've checked my device open and seek calls and they correctly set to byte offset 0 on the device.
>
> Any idea why this is happening?
>
> 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