Ron, my reply is below:

> A quick question, Paul.
>
> When you were working on ntfs-3g, did you run into problems similar
> to my current bugs?
>
>> Finder seems to be ignoring (or failing) the Disk Appeared event,
>> and the mount point is not being deleted properly when the volume
>> is unmounted.

Yes, I did run into bugs like the ones you describe.

To make sure DiskArbitration clients (most notably, the Finder)  
receive only one notification, it's best to pass "-o noping_diskarb"  
if you're creating a filesystem bundle that's already invoked by  
DiskArbitration.  In my later code, I checked the MacFUSE version and  
only added "-o noping_diskarb" for the versions that supported it.

As for the volume not unmounting properly, that came about when I  
started optimizing ntfs-3g.  I would ask ntfs-3g to mount /dev/rdisk*  
devices, since they performed better with the patches, but  
DiskArbitration was expecting to see /dev/disk* in the f_mntfromname  
field of statfs structures.  As noted in my documentation,  
DiskArbitration will always ask for you to mount the /dev/disk*  
variant.  So, to fix that problem, I started sending the "-o fsname="  
option to cause /dev/disk* to appear in statfs() calls, while still  
having ntfs-3g access the /dev/rdisk* device.

Once I fixed the disparity between the expected and mounted devices  
(as seen by statfs calls), the problem went away.  I don't know if  
this is the same problem you're seeing, but it sounds similar.

If that doesn't help, let me know, and I'll see if I can think of  
anything else.

Cheers!
   - Paul Marks 

--~--~---------~--~----~------------~-------~--~----~
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