101-500 Exam QuestionsBrowse all questions from this exam

101-500 Exam - Question 7


What does the command mount --bind do?

Show Answer
Correct Answer: A

The command mount --bind makes the contents of one directory available in another directory. It allows you to create another access point to the same file system data without moving the actual contents. This command is particularly useful for accessing data from multiple locations or for creating specific directory structures needed for different applications without duplicating the data.

Discussion

5 comments
Sign in to comment
EasymanOption: A
Dec 9, 2020

A is correct. df -hT | grep sdb1 /dev/sdb1 ext4 991M 2.6M 922M 1% /mnt root@ubuntu1804:~# mount --bind /mnt /run/media/system/Virtual_disk/ root@ubuntu1804:~# ls /mnt/ lost+found root@ubuntu1804:~# touch /mnt/file1 root@ubuntu1804:~# ls /mnt/ file1 lost+found root@ubuntu1804:~# ls /run/media/system/Virtual_disk/ file1 lost+found

NeoSam999Option: A
Jan 10, 2023

Correct Answer: A https://www.baeldung.com/linux/bind-mounts

techalik
Dec 2, 2020

Is it B?

iwkno6
Jul 29, 2021

A is the right choice according the man page on mount

Blindspot205Option: A
Jan 6, 2024

The answer is A

NinymoOption: A
Mar 24, 2024

It makes the contents of one directory available in another directory