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
-a mounts all filesystems in /etc/fstab, not suitable here.
Trap 2: mount /mnt/usb /dev/sdc1
Arguments reversed: device must come before mount point.
Trap 3: mount -t ext4 /dev/sdc1 /mnt/usb
Correct syntax but -t is unnecessary; however the order is correct, but the question expects the simplest correct command. Option B is simpler.
- A
mount -a /dev/sdc1 /mnt/usb
Why wrong: -a mounts all filesystems in /etc/fstab, not suitable here.
- B
mount /mnt/usb /dev/sdc1
Why wrong: Arguments reversed: device must come before mount point.
- C
mount /dev/sdc1 /mnt/usb
Correct: mount with device and mount point, filesystem auto-detected.
- D
mount -t ext4 /dev/sdc1 /mnt/usb
Why wrong: Correct syntax but -t is unnecessary; however the order is correct, but the question expects the simplest correct command. Option B is simpler.