

Mounts the file system in read-only mode. The command accepts multiple options specified in a comma-separated list (without spaces). The refers to options specified in the options field of the /etc/fstab file. Used in combination with -a, it limits the file system set that -a applies to. Lists all the file systems mounted and adds labels to each device. Must be used in combination with the -a option.ĭisplays the help file with all command options.

Mounts all file systems listed in /etc/fstab.įorks a new incarnation of mount for each device. The following table shows the most common mount options: Option The mount command options further specify file system types, mount location, and type. Note: See how to create a partition in Linux or how to delete a partition in Linux. At least one mount operation succeeded, but not all. Issues with writing or locking the /etc/mtab file. Incorrect command invocation or insufficient permissions. The mount command returns one of the following values that indicate the process completion status: While the file system is mounted, the previous contents, owner, and mode of the directory are invisible, and the pathname refers to the file system root. If the destination directory is omitted, it mounts the file systems listed in the /etc/fstab file. The -t option is optional, and it describes the file system type (EXT3, EXT4, BTRFS, XFS, HPFS, VFAT, etc.). The command instructs the kernel to attach the file system found on at the directory. The standard mount command syntax is: mount -t
