On Monday 06 November 2006 17:12, Bruno wrote: > How is the case where the / partition always remains ro handled? Is > rc-state information put into a tmpfs partition on that location, is the > location configured differently for those?
Good question! / is always ro at boot and the checkroot init script remounts it rw after checking it. As such, we mount /lib/rcscripts/init.d/ as tmpfs (or ramfs or similar). Yes, this means that the kernel must be configured with a ramdisk or similar OR /lib/rscripts/init.d is writeable. At the end of the rc process (ie end of boot runlevel) we tar up our state dir, unmount it and untar it back (taking good care with locking due to parallel starts and event driven services). Admittedly, an always ro / isn't handled right now, but I'll ensure it will be for the next release :) Thanks -- Roy Marples <[EMAIL PROTECTED]> Gentoo/Linux/FreeBSD Developer (baselayout, networking) -- gentoo-dev@gentoo.org mailing list