Re: Problems with my foreign file system
At 18:58 -0700 14/7/03, raldrich@mac.com wrote: 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? DiskArb typically tracks disk names via the node name (for example, "disk2s0") rather than the full path name ("/dev/disk2s0"). Take a look at the output of "disktool -y" in Terminal, and note that DiskArb prints node names at each stage. So, the node name vs full path is probably a red herring. OTOH, the message definitely seems to be significant. The DiskArb code is available as part of Darwin. <http://www.opensource.apple.com/darwinsource/Current/> [This link requires an APSL <http://www.opensource.apple.com/apsl/> account.] In this case, you'll see that the DiskArb routine DiskArbUnmountAndEjectRequest_async_rpc (which is what does the unmount and eject) is trying to find the disk in DiskArb's internal table of disks, and it isn't there. After you've mounted the disk, run "disktool -y" and see what it says about what file systems are mounted where. Also, how is your file system mounted on the disk? Are you trying to be a network file system, or is your file system mounted via DiskArb's standard mechanism for mounting on local media (that is, by probing via your bundle in "/System/Library/Filesystems")? 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? I don't know for sure, but I suspect that this is tied in to how your mount your file system, and thus if you fix you'll fix this as well. S+E -- Quinn "The Eskimo!" <http://www.apple.com/developer/> Apple Developer Technical Support * Networking, Communications, Hardware _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Quinn