using dscl to mount nfs from linux ...
So far I've got the following:
dscl . -create /mounts/host.server.ca:\/home
dscl . -append /mounts/host.server.ca:\/home VFSLinkDir /Network/host/home
dscl . -append /mounts/host.server.ca:\/home VFSOpts -P
dscl . -append /mounts/host.server.ca:\/home VFSType nfs
It looks like I also need a key called GeneratedUID but I have no idea how to create or retrieve the necessary value for that key.
Also there is the problem of forcing the system to see the changes. When I did this in the past with nicl (I've learned that this was pre OS X 10.5) I just forced the automounter restart with something like:
sudo kill -1 `cat /var/run/automount.pid`
Is this still the right thing to do?
I've googled and checked Apple's Command Line docs but I don't really find anything helpful. The mounts that I've added with Directory Utility work fine but I would like to be able to make these changes without actually sitting at each machine and going through the steps on the GUI. With a script and Remote Desktop it would take moments to add the mounts to all of the macs at once. There are many references on the web to doing this with nicl ... please point me toward instructions using dscl.
Mac OS X (10.5.6), G3, G4, G5, Mini, iMac, XServe, RAID and more!