Results 1 to 7 of 7
  1. #1


    Member Since
    Oct 29, 2009
    Posts
    5
    Mount a drive in terminal
    Hello everyone

    I side with a minor problem, I have my OSX server to act as the master PC in my home.

    what I now want is that I want to mount a drive from my server to my MacBook Air, is there anyone who knows how it can be done through terminal?

  2. #2


    Member Since
    May 02, 2009
    Posts
    480
    Specs:
    MBP 2.33 4GB: MacPro 8 Core 2.8, 16GB: MacMini 2.26 4GB: MacMin 2.53 4GB: iPhone3GS 32GB
    Is there any particular reason you want/need to use the Terminal and can't simply use the Finder?

    Have a look at:

    Mount SMB shares from the command line - Mac OS X Hints

    for SMB.

    You can read a thread on AFP here:

    Mount AFP volumes from the terminal - Mac OS X Hints

    You will also want to read the man page on the mount command.

  3. #3


    Member Since
    Oct 29, 2009
    Posts
    5
    Tanks, can i make a startup script to my Macbook Air soe its connect to this mount points?

  4. #4

    Dysfunction's Avatar
    Member Since
    Mar 17, 2008
    Location
    Tucson, AZ
    Posts
    6,880
    Specs:
    Way... way too many specs to list.
    You can mount the devices at login, don't need a terminal script for that.
    mike
    This machine kills fascists
    Got # ? phear the command line!

  5. #5


    Member Since
    Oct 29, 2009
    Posts
    5
    cool, but how? i can't findt it :/

  6. #6

    Dysfunction's Avatar
    Member Since
    Mar 17, 2008
    Location
    Tucson, AZ
    Posts
    6,880
    Specs:
    Way... way too many specs to list.
    Ok, go to System Preferences, then to Accounts, then to Logon Items...

    click on the + then navigate to your share and click on add.

    You'll have to mount it first before you can do that.
    mike
    This machine kills fascists
    Got # ? phear the command line!

  7. #7


    Member Since
    Oct 29, 2009
    Posts
    5
    Tanks alot all i need.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 04-16-2015, 04:58 PM
  2. Script to mount volume (external drive or disk image) which won't mount..?
    By MaccIngs in forum OS X - Development and Darwin
    Replies: 2
    Last Post: 09-09-2011, 09:05 PM
  3. Mount NFS/SMB Shares in Terminal so they appear on Desktop
    By icpeanuts in forum OS X - Operating System
    Replies: 3
    Last Post: 05-19-2007, 01:49 AM
  4. Mount NFS Share via Terminal appear on Desktop
    By icpeanuts in forum Internet, Networking, and Wireless
    Replies: 0
    Last Post: 05-18-2007, 12:54 AM
  5. noob question... can you mount a terminal to the desktop?
    By jamesmccain in forum Switcher Hangout
    Replies: 7
    Last Post: 09-05-2006, 02:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •