Skip to content

Conversation

@gehan
Copy link

@gehan gehan commented Jan 5, 2016

In OSX the sshfs library actually mounts a new volume and gives is a weird name like "OSX Fuse Volume 0" - this gives it a human readable name.

This uses the volname option of the SSHFS library we have to use in OSX - https://osxfuse.github.io/.

Detects if the vagrant is running on OSX and adds the extra option then only as it doesn't exist on*nix sshfs. Rather than specifying a name manually for each path we just pull of the last directory name of the source path.

i.e. for /home/vagrant/src we pull off src

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant