A system administrator wants to mount a USB flash drive formatted with the ext4 filesystem. The device is detected as /dev/sdc1. Which command should be used to mount the device to /mnt/usb?
Trap 1: mount -a /dev/sdc1 /mnt/usb
The -a option is used for mounting all filesystems in fstab, not a single device.
Trap 2: mount /mnt/usb /dev/sdc1
The order is wrong; it should be device then mount point.
Trap 3: mount -t ext4 /dev/sdc1 /mnt/usb
The -t ext4 is optional as the kernel can auto-detect the filesystem. Although specifying it is not incorrect, Option C is simpler and the most direct correct answer.
- A
mount -a /dev/sdc1 /mnt/usb
Why it fails: The -a option is used for mounting all filesystems in fstab, not a single device.
- B
mount /mnt/usb /dev/sdc1
Why it fails: The order is wrong; it should be device then mount point.
- C
mount /dev/sdc1 /mnt/usb
mount /dev/sdc1 /mnt/usb attaches the ext4 filesystem on the USB partition to the existing mount point directory, using the kernel's ext4 driver automatically. This satisfies the stem's requirement to mount the detected device at the specified path.
- D
mount -t ext4 /dev/sdc1 /mnt/usb
Why it fails: The -t ext4 is optional as the kernel can auto-detect the filesystem. Although specifying it is not incorrect, Option C is simpler and the most direct correct answer.