Mount

Mounting typically involves Article description::the attaching of an additional [[filesystem to the currently accessible filesystem of a computer.]]

Installation
The command is part of the  package. In Gentoo Linux is part of the system set and is installed on all Gentoo systems by default. If for some strange and unordinary reason it is missing it can be re-installed by running a simple command:

Usage
Show mounted filesystems by running the mount command with no arguments or options:

Mount a filesystem. A device file, UUID or label or other means of locating the partition or data source and a mount point are required. Non-system relevant filesystems are normally mounted in the directory. The proper syntax for mounting a file system is as follows:

For further details see.

The directory is generally used to mount removable devices such as USB drives or SD cards. After determining which device the USB drive shows up as, a command like the following could be used to mount its contents to a newly created folder in

To unmount a filesystem the device file or the mount point can be specified:

Sometimes mounting a filesystem requires special options.

The filesystem being used must support the mount option being passed. Many options are common, but some are filesystem specific. For more information see the man page.

Changing mount options
Mount options of already-mounted filesystems can be changed using  option. For example, setting a filesystem on to be mounted as read-write can be achieved using:

Mounting as non-superuser
According to only the superuser can mount filesystems. However, when fstab contains the  option on a line any user will be capable of mounting the corresponding partition, device, drive, etc.

Mounting removable media
See the relevant section in the Removable media article.

Mounting Windows shares (cifs)
Despite fstab entries non-superuser mounts of Windows shares will fail (for security reasons). In the following example is found a entry for Windows share; pay close attention to the   option:

The solution is to use in combination with a corresponding entry in  to allow passwordless mounting.