From Bugzilla Helper: User-Agent: Mozilla/4.78 [en] (X11; U; SunOS 5.8 sun4u) Description of problem: when I go to single mode from grub , then I remount / (ro) . mount report (rw) but the output from /pro/mount is (ro) Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. single mode 2. mount -o ro,remount / 3. mount ; cat /proc/mount Additional info:
This is expectable: mount shows the content of /etc/mtab. If /etc isn't writable, /etc/mtab can't be updated, therefore mount will display outdated content. See the mount man page for details, including why having mount read /proc/mounts rather than /etc/mtab is not necessarily a good idea.
I think that /etc/mtab must be deleted every reboot at /etc/rc.d/init.d/halt because when you are booting with root fs (/) in ro /etc/mtab must be empty because _anything_ can write this file and it false the content. well this example was not true: -- 1. single mode 2. mount -o ro,remount / 3. mount ; cat /proc/mount -- but if you are booting _emergency_ mode or with external media like a cdrom or fd is true
"because _anything_ can write this file and it false the content." change _anything_ for "none process" i am sorry, english is my third language