On 2/24/19 10:26 AM, Helmut Jarausch wrote:
How can I set up my system (using autofs ?) to automatically mount /Src if such a symlink is accessed
like   cd    $HOME/Python

Many thanks for a hint,

Review some of the automount tutorials. They will be geared towards NFS, but the same methodology should work for what I think you're wanting to do.

From memory (I don't have a system handy that I can check) autofs / automount (it goes by different names) has it's base config file, and a few files that are included for various examples. You'll likely want to add another included file that specifies the paths that you want to automount.

As a bonus, automount will unmount the paths after a period of inactivity.

Reply via email to