I've got a Cocoa App which mounts my Obj-C MacFuse filesystem, and am trying to catch and display mount errors in a dialog.
I have set up a notification for kGMUserFileSystemMountFailed, however unfortunately this doesn't seem to catch everything, or if an error is notified, it is missing a useful message. If for instance, the mount point is occupied by a file, a useful message is written to the console: fuse: mount point is not a directory `/Volumes/TiVoFS' and a mount failed notification is sent, but the message attached to the notification is of Microsoft standard clarity... Operation could not be completed. (GMUserFileSystemErrorDomain error 1.) In another example, if the mount point is occupied by a zombie fuse file system, for instance a previous instance of the same app that crashed during operation, and didn't result in the fs being un- mounted, the next time the app is run, the fs won't mount because the zombie fs occupies it's place. In that case, when the mount fails, an informative message is sent to the console, but no mount error notification is sent at all, so the app can't catch it, and can only wait infinitely for the fs to mount. Any chance of improving this in the next official release ? Many thanks Guy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "macfuse-devel" group. To post to this group, send email to macfuse-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/macfuse-devel?hl=en -~----------~----~----~----~------~----~------~--~---