2

does anyone know a trick how to generate a Softlink to a Network folder (smb or nfs)

the idea is that there are some network folders i use regulary, but they usally not mounted .. the soflink i made is (of course) not avaiable because its going to /Volumes/share/... is it possible to trigger the remount via a folder action or something like this to avoid the mounting drama via finder.

currently i'm working arround this by executing a shell script that just mounts the share.

1

I have a similar situation, and for me it simply works if I drag the network folder in finder with Cmd + Alt held down to create an alias. If the network share is not mounted, it will automatically mount when the link is accessed either by Finder or with most native GUI applications (e.g., my iTunes folder is linked this way and starting iTunes will mount the share).

However, if you meant a symlink instead of an alias, you can certainly create the link (e.g., on the command line with ln -s /Volumes/dest /path/to/target) but it will not cause the automount to occur, but rather the directory will just seem to not exist if accessed without the share mounted.

0

Consider setting up an autofs mount point to your remote share. autofs will then mount and unmount the shared drive as required.

If you are comfortable with the command time, this autofs set up script can be tweaked to make the required configuration file changes.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .