NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
nd
Dec 08, 2008Aspirant
AFP auto mount on ReadyNAS startup (OSX 10.5.5)
Hi there Is it possible to get some of the shares automatically mounted, when the NAS ist started up? Or even better as soon as the ReadyNas is visible in the Finder? This would also allow me to conn...
sphardy1
Aug 02, 2011Apprentice
First let''s clarify terms - just to be sure we're both using them consistently
A "share" - in this instance - refers exclusively to your NAS and is defined as a network accessible folder on the NAS which you control the contents of and access rights to.
A "mount point" is a folder on your Mac which, once the share is mounted by the Mac, is where you see the contents of the NAS share
So if we assume you are trying to, for example, mount a share called "music" such that it is mounted at the mount point "/mnt/music" (ie "music" being a subfolder of folder "mnt", which is in the root of your OSX filesystem)
Create parent folder of mount point /mnt:
Create mount point:
or
Mount share:
Notes:
- the above is exactly what finder does when you mount a share via the finder GUI - but it uses the parent folder /Volumes instead of /mnt
- parent folder /mnt was only an example - you can use virtually any name, or even none - it's up to you. Your key error has been not creating the mount point correctly (
- the share name abov must be in quotes because of the space character in the name (between nas-xx-xx-xx and (AFP) ), else you get an error as previously reported
A "share" - in this instance - refers exclusively to your NAS and is defined as a network accessible folder on the NAS which you control the contents of and access rights to.
A "mount point" is a folder on your Mac which, once the share is mounted by the Mac, is where you see the contents of the NAS share
So if we assume you are trying to, for example, mount a share called "music" such that it is mounted at the mount point "/mnt/music" (ie "music" being a subfolder of folder "mnt", which is in the root of your OSX filesystem)
Create parent folder of mount point /mnt:
mkdir /mnt
Create mount point:
mkdir /mnt/music
or
cd /mnt
mkdir music
Mount share:
mount -t afp "afp://nas-xx-xx-xx (AFP)._afpovertcp._tcp.local/music" /mnt/music
Notes:
- the above is exactly what finder does when you mount a share via the finder GUI - but it uses the parent folder /Volumes instead of /mnt
- parent folder /mnt was only an example - you can use virtually any name, or even none - it's up to you. Your key error has been not creating the mount point correctly (
- the share name abov must be in quotes because of the space character in the name (between nas-xx-xx-xx and (AFP) ), else you get an error as previously reported
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!