Opened 14 years ago

Closed 13 years ago

#23907 closed update (invalid)

sshfs 2.2[2.4] No fstab support

Reported by: craig.fairhurst@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: drkp (Dan Ports)
Port: sshfs

Description

I thought it should be noted that the current sshfs version, 2.2, does not support /etc/fstab. The required version for fstab is version 2.4. The resulting effect is you are required to issue the sshfs command everytime you log in/out and/or reboot. Largely makes sshfs pointless at version 2.2, unless you append the command to bashrc and start Terminal on every login, to get around the lack of fstab support.

Kind regards

Change History (7)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Keywords: sshfs 2.2 2.4 fstab removed
Owner: changed from macports-tickets@… to eridius@…
Priority: HighNormal
Type: requestupdate
Version: 1.8.2

comment:2 Changed 14 years ago by craig.fairhurst@…

Thanks. I marked it as High because there is no native support in Mac OS X to replicate the behaviour provided by /etc/fstab. You can setup a "Startup Item" as a Bash Script in System Preferences -> Accounts -> Startup Items, however it is not possible to do this silently. (as the "hide" option would suggest)

Kind regards

comment:3 in reply to:  2 Changed 14 years ago by nerdling (Jeremy Lavergne)

Replying to craig.fairhurst@…:

You can setup a "Startup Item" as a Bash Script in System Preferences -> Accounts -> Startup Items, however it is not possible to do this silently. (as the "hide" option would suggest)

Have you considered a launchd.plist as a user LaunchAgent? It would be run whenever the user logs in (that is, their keychain is unlocked and you can use their SSH keys).

comment:4 Changed 14 years ago by craig.fairhurst@…

Never used it before, rings a couple of bells, although not sure what I'd need to do. Will take a look. Thanks

comment:5 Changed 14 years ago by craig.fairhurst@…

Hi

I've taken another look at this, the user LaunchAgent is simply too complicated. If sshfs could be upgraded to 2.4 it would be a big help.

Kind regards

comment:6 Changed 14 years ago by jmroot (Joshua Root)

Owner: changed from eridius@… to macports-tickets@…

comment:7 Changed 13 years ago by drkp (Dan Ports)

Cc: dports@… added
Resolution: invalid
Status: newclosed

The latest version of sshfs is 2.3, and even that was only released a month ago. There is no v2.4.

You can set up automounting from the fstab using the instructions at http://code.google.com/p/macfuse/wiki/AUTOMOUNTING

Note: See TracTickets for help on using tickets.