Re: [gentoo-user] Run command after root mounted ro?

2011-08-10 Thread Florian Philipp
Am 10.08.2011 03:04, schrieb Daniel Frey: On 01/-10/37 11:59, Florian Philipp wrote: Remounting root read-only is done by an init script called mount-ro which is started in runlevel shutdown. Try to add a custom init script to your /etc/init.d directory with the following content:

[gentoo-user] Run command after root mounted ro?

2011-08-09 Thread Daniel Frey
Greetings, I discovered a possible reason for mdadm always marking my raid array as bad on reboot. The problem is I don't know how to check for the issue. When using root on a native mdadm raid, the kernel handles the array state transition at shutdown, so it's not a big deal. However, it's

Re: [gentoo-user] Run command after root mounted ro?

2011-08-09 Thread Florian Philipp
Am 09.08.2011 21:30, schrieb Daniel Frey: Greetings, I discovered a possible reason for mdadm always marking my raid array as bad on reboot. The problem is I don't know how to check for the issue. When using root on a native mdadm raid, the kernel handles the array state transition at

Re: Re: [gentoo-user] Run command after root mounted ro?

2011-08-09 Thread Daniel Frey
On 01/-10/37 11:59, Florian Philipp wrote: Remounting root read-only is done by an init script called mount-ro which is started in runlevel shutdown. Try to add a custom init script to your /etc/init.d directory with the following content: #!/sbin/runscript depend() { after mount-ro }