Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

rjalex

macrumors 6502
Original poster
Mar 27, 2011
275
63
Rome, Italy
Dear friends,
I have a disk shared from a Raspberry PI and am able to mount and use it via a shell script as follows:

sudo mount -t nfs -o resvport,rw,nolocks 192.168.1.18:/home/bob/mymovies /private/mymovies

which I usually launch manually when needed after logging in as my user (bob).

Ideally though I would like to have it always mounted after I boot my Mac or at least after logging in as bob.

I tried adding this share as a "Login item" in the Settings->Users&Groups->Login Items panel but get two "There was a problem connecting to the server 192.168.1.18" messages on the desktop and the mount does not appear.

What's the right way of doing this?

Thanks a lot
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.