EX200 Exam QuestionsBrowse all questions from this exam

EX200 Exam - Question 76


SIMULATION -

In the system, mounted the iso image /root/examine.iso to/mnt/iso directory. And enable automatically mount (permanent mount) after restart system.

Show Answer
Correct Answer:

To mount the ISO image /root/examine.iso to /mnt/iso directory and ensure it is automatically mounted after a system restart, you should edit the /etc/fstab file. Add the following line to /etc/fstab: '/root/examine.iso /mnt/iso iso9660 loop 0 0'. This line ensures that the ISO image will be mounted to the /mnt/iso directory using the ISO 9660 file system type and the loop device. This entry will remain in the /etc/fstab file and will automatically mount the ISO image each time the system starts. To immediately mount the ISO image without restarting, run 'mount -a'. This command reads the /etc/fstab file and mounts everything listed in it.

Discussion

3 comments
Sign in to comment
adolfoale
Jan 17, 2021

In RHEL8: /root/examine.iso /mnt/iso iso9660 loop 0 0 mount -a

kenkct
Mar 11, 2022

echo '/root/examine.iso /mnt/iso iso9660 loop 0 0' >> /etc/fstab

cloudyhr
Jan 8, 2022

automatic and permanent, this can also be active by autofs #dnf install autofs #systemctl start autofs #systemctl enable --now autofs by default autofs(/etc/auto.misc) is configured to mount cdrom on /misc/cd #cd /misc/cd ; ls