Bird
0
0

What will be the output of the command sequence below if /dev/sdb1 is already mounted on /mnt/usb?

medium📝 Command Output Q13 of 15
Linux CLI - Disk and Storage
What will be the output of the command sequence below if /dev/sdb1 is already mounted on /mnt/usb?
mount /dev/sdb1 /mnt/usb
mount | grep /mnt/usb
A/dev/sdb1 on /mnt/usb type ext4 (rw,relatime)
Bmount: /mnt/usb is busy
Cmount: /dev/sdb1 is already mounted
DNo output
Step-by-Step Solution
Solution:
  1. Step 1: Understand mounting an already mounted device

    Running mount on an already mounted device usually remounts or shows no error, depending on system, but the second command lists mounts.
  2. Step 2: Analyze the grep output

    The command mount | grep /mnt/usb shows the current mount info for that directory, typically like /dev/sdb1 on /mnt/usb type ext4 (rw,relatime).
  3. Final Answer:

    /dev/sdb1 on /mnt/usb type ext4 (rw,relatime) -> Option A
  4. Quick Check:

    mount | grep shows mount info [OK]
Quick Trick: mount | grep shows current mounts [OK]
Common Mistakes:
  • Expecting error when mounting already mounted device
  • Confusing mount error messages
  • Ignoring output of grep command

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes