How to Create a Symbolic Link to a Mounted Volume

Markus Schönhaber ubuntu-users at list-post.mks-mail.de
Mon Feb 2 10:06:06 UTC 2009


Dom Incollingo:

> Thanks very much for the information.  I found the file system mounted in
> the ~/.gvfs/ directory, and I made a symlink to it.  It worked like a charm.

Good to hear you got it working.

> As far as why I wanted a symlink....  I'm running a Java app under JBoss,
> and have been having problems with it.  One of my co-workers suggested
> having JBoss point to a symlink for the remote file structure it needs to
> access.  (Possibly because of the embedded spaces in the name of the file
> structure name mounted in ~/.gvfs ??)

I overcame my laziness and took a quick look at the Ubuntu repositories.
There is indeed a FUSE-based tool to really mount SFTP-resources: sshfs[1].
That might be a better choice for the job since you have control about
where things get mounted and you can obviously avoid having spaces in
the name of the mount point.

> At any rate, the app is running fine now, and I now know how to find the
> place where Gnome is actually mounting the volume.  Thank again for your
> help and comments.

You're welcome

Regards
  mks

[1] There may be others, too. sshfs was simply the first I saw and it
seems to be working well.




More information about the ubuntu-users mailing list