Operating Systems
A technician plugs in a USB drive with a Linux-readable filesystem, but it does not appear in the file manager. Which command attaches /dev/sdb1 to the directory /mnt/usb so its files can be accessed?
Show the answer
Correct answerA. mount /dev/sdb1 /mnt/usb
AWhy this is right: mount takes a device and a mount point and attaches the filesystem there, making its files accessible.
BWhy not this: fsck checks and repairs a filesystem; it does not take a mount point or attach anything.
CWhy not this: su switches to another user account; it does not attach storage devices.
DWhy not this: sudo elevates privileges for a command, but a device path is not a command, so nothing is attached.
mount attaches a device's filesystem to a mount point in the directory tree, here /mnt/usb. fsck only checks a filesystem for errors and does not make it accessible.