System Management

A technician must inspect the files on the ext4 partition /dev/sdc1 from a failing disk. The directory /mnt/inspect already exists, the partition is not mounted, and /etc/fstab must not be changed. The data must not be modifiable during the inspection. Which command does this?

Show the answer

Correct answerC. mount -o ro /dev/sdc1 /mnt/inspect

mount takes the device first and the mount point second, and -o ro attaches the filesystem read-only. The remount option only changes a filesystem that is already mounted, so it cannot attach /dev/sdc1 for the first time.