Mounting a file system from the command line is often performed to test a new mount point. This type of mount enables temporary access to a file system that is not available through the automounter. You can unmount the file system with the umount command or by rebooting the local system.
For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .
mount -F nfs -o specific-options resource mount-point
# mount -F nfs -o ro bee:/export/share/local /mnt
For more information, see the mount_nfs (1M) man page.
In this example, the /export/share/local file system from the server bee is mounted read-only on /mnt on the local system.
Caution - The mount command does not provide warnings about invalid options. The command silently ignores any options that cannot be interpreted. To prevent unexpected behavior, verify all of the options that you use. |