How/when does upstart remount / rw?

Asked by Ian on 2010-05-25

I am running Ubuntu 9.10 (Karmic Koala) and investigating upstart.

I am trying to find what script/program remounts the root file system rw, but I can't find it anywhere. I am thinking it might be an undocumented feature of mountall, but haven't read the source yet.

Can anyone tell me what is doing the remount?

Thanks,
Ian

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu mountall Edit question
Assignee:
No assignee Edit question
Solved by:
Ian
Solved:
2010-05-25
Last query:
2010-05-25
Last reply:
Ian (ian-goodacre) said : #1

I downloaded the source of mountall and it appears that it does remount file systems that have been mounted ro (read only). I haven't reviewed the source carefully enough to be completely certain nor added/enabled debug logging to confirm mountall is doing this for the root file system, but it seems mountall runs fsck, if requested/required, and then remounts file systems mounted ro, unless they have the ro option in /etc/fstab.