Easy Tutorial
❮ Linux Comm Cut Linux Comm Quota ❯

Linux mount Command

Linux Command Manual

The Linux mount command is a frequently used command that is used to mount files external to the Linux system.

Syntax

mount [-hV]
mount -a [-fFnrsvw] [-t vfstype]
mount [-fnrsvw] [-o options [,...]] device | dir
mount [-fnrsvw] [-t vfstype] [-o options] device dir

Parameter Description:

Examples

Mount /dev/hda1 under /mnt.

#mount /dev/hda1 /mnt

Mount /dev/hda1 in read-only mode under /mnt.

#mount -o ro /dev/hda1 /mnt

Mount the CD image file /tmp/image.iso using loop mode under /mnt/cdrom. This method can be used to view the contents of a Linux CD ISO file found on the Internet without burning it to a CD.

#mount -o loop /tmp/image.iso /mnt/cdrom

Linux Command Manual

❮ Linux Comm Cut Linux Comm Quota ❯