This is a ManXample entry for the "mount" command.
This is the area to propose additional strings, comments, tips, work-flows, examples, and reference for commands and daemons. ManXamples will be added to the bottom of the official manpage entries the following standard format, so people can always find them and the listings are uniform. Please look at the commands listed before adding more, so work is not duplicated. If needed, simply add a function to an existing command if it adds significant value without complicating the spirit of the original example.
1) To mount an NFS share via IP, use the following command:
sudo mount.nfs 10.0.0.1:/path/to/share /path/to/mount/point
2) To mount an NFS share via hostname, use the following command:
sudo mount.nfs hostname:/path/to/share /path/to/mount/point
3) To mount an NFS4 share via IP with verbose and read-only modes enabled, use the following command:
sudo mount.nfs4 -vr 10.0.0.1:/path/to/share /path/to/mount/point