Problems with my foreign file system
Problems with my foreign file system
- Subject: Problems with my foreign file system
- From: email@hidden
- Date: Mon, 14 Jul 2003 18:58:07 -0700
Folks,
I'm implementing an as-yet unnamable file system under the darwin
kernel, and while most of it is working as expected, I've run into a
couple of problems that I'm really not sure how to debug.
1) When I eject a disk using the disktool command line tool, it ejects
just fine, but when I try to eject it by dragging its icon to the trash
in Finder, I get the following error message in system.log, the disk
doesn't eject, and finder hangs.
Jul 14 18:39:58 schizm /sbin/autodiskmount[330]:
DiskArbUnmountAndEjectRequest_async_rpc(diskIdentifier =
'/dev/disk2s0', flags = $00000000): LookupDiskByIOBDSName failed
Looking at the message, I get a clue as to what is going wrong - the
disk identifier '/dev/disk2s0' should be 'disk2s0'.
What I don't understand is why Finder hasn't stripped the '/dev/'
prefix off of the identifier. How does Finder determine what the disk
identifier for a volume should be?
The other problem I'm having also has to do with Finder - the icon
which is shown for my volume is the same as the one shown for network
volumes. How does Finder determine what icon it should show for a
volume?
Thanks,
Ron Aldrich
Software Architects, Inc.
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.