On 07/04/2010 07:16 PM, David Dillow wrote: > On Mon, 2010-07-05 at 00:48 +0800, Min Jun,Xi wrote: >> Hi All, >> there's one problem here. >> I tried to set one read-only NFS directory as the root filesystem, but >> there're several problems, and lead to one situation that the root >> filesystem is remounted using read-write option. > >> Is there any option or flag which can be used to disable it? I think >> the developers from redhat should know about it. > > Search /etc/rc.d/rc.sysinit for /etc/sysconfig/readonly-root. I don't > know if it is well documented or not. You can also use "readonlyroot" on > the command line I think, but using the file lets you set more options. > Expect more issues related to this, the last time I looked at it, it > took some tweaking to make work well. Even thought it focuses on a specific use case on s390x, the following document for readonly root-fs on RHEL 5.3 might help you with some more background information: http://www.linuxvm.org/Present/misc/ro-root-RH5.pdf Steffen Linux on System z Development IBM Deutschland Research & Development GmbH Vorsitzender des Aufsichtsrats: Martin Jetter Geschäftsführung: Dirk Wittkopp Sitz der Gesellschaft: Böblingen Registergericht: Amtsgericht Stuttgart, HRB 243294 -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html