Oooh, missed that! I thought that was part of the example! Well that
is working fine but I am still have some issues, these arguments are
being passed, which work fine when I manually run them against
mount_sshfs:

-o auto_cache,volname=Media,rw -o automounted,nobrowse
[email protected]:/media /Volumes/Au07/Media

And this is the output on the console log:

Feb 27 00:05:00 mboz automountd[594]: mount of /Volumes/Au07/Media
failed
Feb 27 00:05:01 mboz com.apple.automountd[594]: sshfs: cannot find
sshnodelay.so
Feb 27 00:05:01 mboz com.apple.automountd[594]: warning: ssh nodelay
workaround disabled
Feb 27 00:05:01 mboz com.apple.automountd[594]: remote host has
disconnected

I believe the problem is to do with SSH keys. I have one as my user,
but I am guessing autofs can't find this, so where do I need to put
it? I have tried adding the 'allow_other' option, but that doesn't
work either.

Luca Spiller

On Feb 26, 10:45 pm, Amit Singh <[email protected]> wrote:
> Are you sure you are using the exact format for the fstab entry as the
> wiki page/blog entry tells you to use? Read carefully. Do you have a
> "dummy:" prefix before the "u...@host:/remotedir" part? Doesn't look
> like that from the contents of your fstab.
>
> Amit
>
> On Feb 26, 2:33 pm, Luca <[email protected]> wrote:
>
> > I am trying to setup MacFUSE + SSHFS with automounting under Leopard.
> > I have read the wiki (http://code.google.com/p/macfuse/wiki/
> > AUTOMOUNTING), and the blog post (http://www.osxbook.com/blog/
> > 2008/12/11/a-note-on-automounting-macfuse-file-systems/) however I
> > can't get it to work. The wrong arguments are being sent to the
> > mount_sshfs command.
>
> > Here is my /etc/fstab:
>
> > [email protected]:/media /Volumes/Au07/Media sshfs
> > auto_cache,volname=Media 0 0
>
> > If I then run automount -vc I get:
>
> > automount: /net updated
> > automount: /home updated
> > automount: /Volumes/Au07/Media updated
> > automount: no unmounts
>
> > All, good so far until I try and access the mount. It fails. The
> > reason why is because the arguments passed to mount_sshfs are wrong:
>
> >  -o nosuid,nodev -o auto_cache,volname=Media,rw -o
> > automounted,nobrowse /media /Volumes/Au07/Media
>
> > As you can see, the host is removed. Now, the weird bit. If I change
> > my /etc/fstab to use nfs rather than sshfs, this is what gets passed
> > to mount_nfs:
>
> > -o retrycnt=0 -o nosuid -o nodev -o auto_cache -o volname=Media -o
> > automounted -o nobrowse [email protected]:/media /Volumes/Au07/Media
>
> > As you can see, completed different. Help please!
>
> > Luca Spiller
--~--~---------~--~----~------------~-------~--~----~
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