Hi everyone,
We have a windows file cluster on which we share files through DFS. I use login script to map 4 shares on our OSX machines. This works fine however the names of the shares are all the same (dfs structure names the different shares based on the customer). Changing the share names unfortunatly
isn't an option. On the windows machines this isn't a problem since the shares are assigned different driveletters to differentiate them.
I've tried using a applescript
mount volume "smb://domain.tld/dfs/service/customer"
and a shell script with the mount_smbfs command
#!/bin/sh
mkdir -p /Volumes/CustomerShareName; mount_smbfs 'smb://domain.tld/dfs/service/customer' '/Volumes/CustomerShareName'
However the mounted volumes show up in the finder with the original sharename and can't be renamed.
After some researching it seems the only way to achieve what I want is to mount the shares and create an alias so I can display them with the name I want.
I was wondering if anyone has found a way to set a custom name for mounted network shares without using aliases.
Thanks.