I've got a script and launch agent for mounting users' home share drives and group shared drives that's been passed down the generations of mac admins. We use this script whether it's a one or multi-user computer. The launch agent runs every 5 minutes to make sure the drives reconnect if a user ejects them, or needs to reconnect (provided the computer is connected to our network). It also appends a randomly generated numeric suffix to the folder it creates as the mount point in /tmp. So the first time it runs the mount point might be "/private/tmp/fs01-user-61245" and the next it's "/private/tmp/fs01-user-421576."
Related to that, I'm having an issue where our users' home shares aren't showing any contents when you go to the Finder sidebar under "Shared"—it's just blank. If you access their home share from "Computer" in the "Go" menu, everything shows up. It's not the script causing that problem—when I manually connect, I have the same issue.
"No problem!" I think, as I can use mysides to add the mount point to their sidebar's favorites. Except, those random suffixes when the script sets the mount point... It's always changing.
I think I've worked out a solution for my sidebar-adding-script that checks which folder is currently the mount point, but the real question that's bugging me is: are the randomly generated suffixes in the drive mounting script actually necessary anymore?