Re: Mysterious Snow Crash
Re: Mysterious Snow Crash
- Subject: Re: Mysterious Snow Crash
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Thu, 24 Sep 2009 14:05:46 +0700
On 24 Sep 2009, at 13:15, Bill Bumgarner wrote:
On Sep 23, 2009, at 10:52 PM, Gerriet M. Denkmann wrote:
NSLog(@"%s setting url to Downloads; was %@",__FUNCTION__, [self
fileURL]);
// was: file://localhost/dev/rdisk1s10
Wait. What?
Where the HECK did that URL come from?
I entered it.
/dev/rdisk1s10 is a raw device. It isn't a filesystem, not at all.
You are absolutely right. The app is called HFS+ Checker and it does
just this: it reads a raw partition (which contains an HFS+
filesystem) and supplies all sorts of useful information.
And all cats from 10.3.4 to 10.5.8 had no problem of getting some icon
for it.
Snow Leopard also supplies appropriate icons for non-existing files
(like: "/sillyName").
There really is no reason it should crash.
Currently I have replaced "/dev/rdisk1s10" with the (non-existing) "/
rdisk1s10" which avoids the crash.
Any suggestions of better ways to avoid the crash would be most welcome.
Kind regards,
Gerriet.
_______________________________________________
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