Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to get my host machine running Lion to automount an NFS export on my CentOS VM.

I was able to get this working on a system running Mac OS 10.5 by modifying /etc/auto_master and then restarting the autofs service per the instructions in

sudo service stop
sudo service start

However, in Lion, the service command appears to be missing.

How do I reload the autofs service in OS X Lion without restarting?

share|improve this question

migrated from Aug 4 '11 at 12:47

This question came from our site for system and network administrators.

Does launchtcl show the as a job that is loaded? Launchd really should be controlling this for you and logging why and when a halt / respawn or error happens. – bmike Aug 11 '11 at 20:49
up vote 9 down vote accepted

this works for me:

sudo automount -vc
share|improve this answer
Forgot about that; thanks! I like this better, since it is a 'reload' operation rather than a 'restart'. – user5118 Aug 7 '11 at 19:02

You can use launchctl instead of service:

sudo launchctl stop

You should not need to restart autofsdt manually; launchd will notice that it has stopped, and immediately start another instance.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.