mount

What is mount?

On Linux and UNIX operating systems, you can use the mount command to attach (mount) file systems and removable devices such as USB flash drives at a particular mount point in the directory tree.

The umount command detaches (unmounts) the mounted file system from the directory tree.

How to use mount?

##### syntax
mount [OPTION...] DEVICE_NAME DIRECTORY

##### mount /dev/sdb1 on /mnt/media
sudo mount /dev/sdb1 /mnt/media

NFS

Example 1

##### mount nfs share
sudo mount -t nfs IP:share /tmp/mount/ -nolock

Example 2

Mount nfs share to local directory /tmp/mount

References

Last updated