>> I'm sorry but what is the problem with replaying log on read only >> filesystem? It should be readonly only for user's programs that use >> mounted filesystem.
OD> Well, my understanding is that if you have a read-only filesytem, then OD> you wouldn't be able to write anyting to it. Having a transaction log OD> replayed on a read-only filesystem would mean that the transactions are OD> not written. If none is written, then you can say that the journalling OD> filesystem is not working. If it's not working, well, your system would OD> be left in a not-quite-good state. I'm not sure about reiserfs but at least ext3 does replays logs on read only filesystem. I'm going to check if it so with reiserfs. Here http://kt.zork.net/kernel-traffic/kt20010119_103.html#1 you can find some discussion why on jornaling filesystems log can be replayed even if filesystem is mounted as read only. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- | Ilya Martynov (http://martynov.org/) | | GnuPG 1024D/323BDEE6 D7F7 561E 4C1D 8A15 8E80 E4AE BE1A 53EB 323B DEE6 | | AGAVA Software Company (http://www.agava.com/) | -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-