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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to