TestOut Linux Pro Practice Test 2025 – Complete Exam Prep Guide

Image Description

Question: 1 / 400

To unmount a mounted drive, which command would you use?

mount /dev/sdb2 /mnt/newdrive

umount /mnt/newdrive

To unmount a mounted drive, the command used is specifically designed to detach a filesystem from the filesystem hierarchy. The command `umount` (note the spelling without an 'n') is utilized for this purpose, requiring the target mount point or the device's name as an argument. In this case, using `umount /mnt/newdrive` effectively instructs the system to unmount the drive that has been mounted at the specified mount point, ensuring that it is safely detached from the system.

Unmounting is an important operation that prevents data loss and ensures that any pending operations on the filesystem are properly completed before the drive is removed or powered down. By contrast, the other commands listed either mount a drive, which is the opposite operation, or relate to managing swap space, which is unrelated to unmounting filesystems.

Get further explanation with Examzify DeepDiveBeta

mount /dev/sdb2

swapon /dev/sdb2

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy