Why is the root file system mounted read-only during boot and remounted with write permission later on?
A. Because if problems with the root file system are detected during the boot, fsck can be run, without risk of damage.
B. Because this way crackers cannot collect information about root with boot sniffers.
C. To avoid writing to the disk, unless the root password is known.
D. To avoid other operating systems overwriting the Linux root partition.
E. Because the disk has its own write protection that cannot be changed by the operating system.
题解
「fsck」工具可以检查和修复文件系统。开机时挂载的文件系统都会使用「fsck」来检查(或修复),为了确保 root 的文件系统不会因为写入缓存等因素和「fsck」的连用而导致文件系统出现问题,所以会先以唯读的方式挂载。
