Dave Yost wrote:
> http://code.google.com/p/macfuse/wiki/OPTIONS
> says
>   Beginning with version 1.0.0, MacFUSE always performs synchronous
> (foreground)
>   mounting, so there's no race between the mounting process finishing
> and the Finder
>   discovering a MacFUSE volume.
>
> This isn't what happens with 2.0.3 on my 10.5.7 system.
>
> For me,
>    sshfs hostname: mountpoint ; ls mountpoint
> always shows no folder contents because the ls executes before the
> mount completes.
>   

This is also what I'm experiencing. In my NTFS-3G package I wrote a 
separate command line tool, 'fuse_wait', to solve this problem (actually 
Paul Marks wrote the first version, but I rewrote it from scratch since 
he didn't publish the source code):
http://hem.bredband.net/unsound/ntfs-3g/sources/fuse_wait.c

It listens to MacFUSE's 
'com.google.filesystems.fusefs.unotifications.mounted' notification for 
a specific mount point, and only exits after that notification has been 
received.
So instead of 'sshfs hostname: mountpoint' you would use fuse_wait like 
this: 'fuse_wait mountpoint 10 sshfs hostname: mountpoint'. The argument 
'10' means it waits for the notification maximum 10 seconds before 
timing out.

- Erik ( http://macntfs-3g.blogspot.com )

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MacFUSE" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to