mount

Linux · System · available in the simulator

What it does

Mount a filesystem or storage device.

Syntax

mount [-t tipo] [-o opciones] dispositivo punto_de_montaje

Options and parameters

  • -t TIPO

    filesystem type

  • -o OPC

    mount options (ro, rw, remount...)

  • -a

    Mount all filesystems mentioned in /etc/fstab.

  • -t

    Specify the filesystem type.

    sudo mount -t ext4 /dev/sdb1 /mnt
  • -o

    Mount options such as ro, rw, or noexec.

    sudo mount -o ro /dev/sdb1 /mnt
  • -r

    Mount the filesystem read-only.

Usage examples

  • sudo mount /dev/sdb1 /mnt
  • mount
  • sudo mount -t ntfs /dev/sdb1 /mnt
  • mount -t ext4 /dev/sdb1 /mnt
  • sudo mount -t ext4 /dev/sdb1 /mnt
  • sudo mount -o ro /dev/sdb1 /mnt
Practise mount

Related commands