Challenge - 5 Problems
Mount Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate2:00remaining
What is the output of the mount command after mounting a USB drive?
You run the command
sudo mount /dev/sdb1 /mnt/usb to mount a USB drive. Then you run mount | grep /mnt/usb. What output do you expect?Linux CLI
sudo mount /dev/sdb1 /mnt/usb mount | grep /mnt/usb
Attempts:
2 left
💡 Hint
Remember the output format of the mount command shows device first, then mount point.
✗ Incorrect
The mount command output lists the device first, then the mount point, followed by the filesystem type and options. So the correct output shows /dev/sdb1 on /mnt/usb.
💻 Command Output
intermediate2:00remaining
What error occurs when unmounting a busy mount point?
You try to unmount a mounted directory with
sudo umount /mnt/usb but the directory is in use by a process. What error message will you see?Linux CLI
sudo umount /mnt/usb
Attempts:
2 left
💡 Hint
Think about what happens if a directory is open or used by a program when you try to unmount it.
✗ Incorrect
If the mount point is busy (used by a process), umount will refuse and show 'target is busy' error.
📝 Syntax
advanced2:00remaining
Which command correctly mounts a device with read-only option?
You want to mount
/dev/sdc1 to /media/backup with read-only access. Which command is correct?Attempts:
2 left
💡 Hint
The options must come immediately after mount command and before device and mount point.
✗ Incorrect
The correct syntax places options right after mount command: mount -o ro device mountpoint.
🚀 Application
advanced3:00remaining
How to safely unmount all USB drives mounted under /media?
You want to unmount all USB drives currently mounted under
/media. Which command sequence will do this safely?Attempts:
2 left
💡 Hint
Think about extracting mount points and passing them safely to umount.
✗ Incorrect
Option B extracts mount points (3rd column) under /media and passes them to umount via xargs safely. Others either use wrong fields or wrong syntax.
🧠 Conceptual
expert2:00remaining
What happens if you mount a device on a non-empty directory?
You mount
/dev/sdd1 on /mnt/data, but /mnt/data already contains files. What is the effect on those files?Attempts:
2 left
💡 Hint
Think about how mounting overlays the mount point directory.
✗ Incorrect
Mounting a device on a non-empty directory hides the original files temporarily. They reappear after unmounting.