I just looked all over Hell's half acre for this (okay, I performed a perfunctory Google search) and I couldn't find a definitive answer. Now I know and I just wanted to make a quick note of it for posterity. In the olden days (i.e., a few months ago), in order to get any mounted to shares to re-mount, we would restart automount
thusly:
sudo killall -HUP automount
This no longer works. Now we must restart autofs
. To restart autofs
on Mac, do this:
sudo killall -HUP autofsd
To be additionally thorough, though this should not be necessary, you could also restart automount
, which now looks slightly different (note the "d", which is new):
sudo killall -HUP automountd
None of this is surprising, but then again, if you're not sure you're doing it right (like you run the command and nothing happens and you want to be sure you're doing the right thing) it helps to have it written down somewhere.
Enjoy!