Re: Reading HFS Standard Block0 on USB thumb drives
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Alison Cassidy