Ok, I've gotten fairly close to figuring this out.

First, I have to provide the device name for for statfs.f_mntfromname  
using the -ofsname option to fuse_main.

Second, I have to specify local storage using the -olocal option to  
fuse_main.

Things that now work correctly.

        The volume's icon is no longer the "network" icon, but is instead a  
DVD-RW icon (as expected).
        The disk now ejects from the drive when you drag it's icon from the  
desktop to the trash.

Things that don't work correctly.

1)      The volume does not show up in Finder immediately when the Disk  
Appeared event is generated.  It does appear once you touch a Finder  
window.  I suspect that Finder is attempting to access the volume  
before it is fully active, and is failing to show it as a result.

2)      The volume's mountpoint (/Volumes/{volname}) is not deleted when  
the volume is unmounted.

3)      The volume's icon remains in the Finder's sidebar after the disk  
is ejected.  When you click on this icon, an error message "The  
volume for {volume name} cannot be found."  is displayed.  If you  
relaunch Finder, this spurious icon goes away.  I suspect that this  
is related to problem 2.

Any suggestions?

Thanks,

Ron Aldrich
Software Architects, Inc.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"macfuse-devel" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to