LFCA · Question #18
Which of the following commands is used to detach a mounted filesystem or storage device?
The correct answer is A. umount. The umount command is used to detach (unmount) a mounted filesystem or storage device from the directory tree, making it safely removable.
Question
Which of the following commands is used to detach a mounted filesystem or storage device?
Options
- Aumount
- Bmount
- Cmkfs
- Dfsck
How the community answered
(44 responses)- A86% (38)
- B5% (2)
- C2% (1)
- D7% (3)
Why each option
The `umount` command is used to detach (unmount) a mounted filesystem or storage device from the directory tree, making it safely removable.
The `umount` command is specifically used in Unix-like operating systems to detach a mounted filesystem, making it safe to remove or perform other operations on the underlying storage device by removing its association with a directory.
The `mount` command is used to attach a filesystem to a specified directory, which is the opposite of detaching.
The `mkfs` command is used to build a Linux filesystem on a device, not to detach it.
The `fsck` command is used to check and repair a Linux filesystem, not to detach it.
Concept tested: Linux filesystem management
Source: https://man7.org/linux/man-pages/man8/umount.8.html
Topics
Community Discussion
No community discussion yet for this question.