Connecting to folders in NAS automatically on login

Discussion in 'macOS' started by 30secondstosam, Mar 8, 2013.

  1. 30secondstosam macrumors newbie

    Oct 12, 2011
    Hi all - something that does my head in every morning at work (because I'm lazy) is connecting to the NAS automatically. I know that on this small LAN, the Windows (*shudders*) machines automatically connect and there is no mounting required.
    However, in Mac, we have to go to finder, click on the NAS, then click on the folders we want to use and THEN it mounts them.

    Any ideas? I've tried a couple a couple of login scripts that didn't work. Using Snow Leopard

    Thanks all
  2. switon macrumors 6502a

    Sep 10, 2012
    RE: automounting of shares...

    Hi 30secondstosam,

    I don't quite know what you mean when you say that you tried a couple of login scripts, so perhaps you have already tried the things I suggest below. Sorry if that is the case...

    First of all, you can use the Login Items in the Users & Groups pane to add a network share to your login. When you login then the network share should be mounted (assuming, of course, that you have the proper permissions to do so, but this should be the case if you can mount the share manually) automatically.

    System Preferences -> Users & Groups -> <username> -> Login Items -> + -> <shared volume>
    Secondly, if the first method did not work, then you can add the desired mount to your /etc/auto_master map file used by the automountd daemon which is run by the launchd daemon at boot time. This will mount the share at boot time. While this is a little more work, it is well documented how to do this in the manpages: "man auto_master", "man automount", "man autofs.conf", "man automountd", etc.

  3. fhall1 macrumors 68040


    Dec 18, 2007
    (Central) NY State of mind
    Once you have your NAS volumes connected. Go to system preferences, login items, drag the volume icon(s) from your desktop into the login items window to add them to your login items.
  4. AshMan macrumors regular

    May 1, 2010
    You could also created an Automator workflow to start on login as well to map the drives.

    I do it with an Automator workflow so the drives map without opening new windows of the contents. It just mounts the shares.

Share This Page