[Henrique de Moraes Holschuh]
> Err, how can it NOT be safe to write there?
If something try to write there before /etc/rcS.d/S02mountkernfs.sh
has executed, it will not be possible to write to /lib/init/rw/.
> What would be an example of expected use of that marker? I don't
> get it, either.
Here is an example:
if [ -f /lib/init/rw/.ramfs ] ;
do_stuff_needing_initrw
else
echo "Unable to do stuff, because /lib/init/rw/ is not yet writable"
fi
Kernel event handlers called from udev (when udev is started in the
initrd) could find it useful to know if /lib/init/rw/ is writable or
not. :)
Happy hacking,
--
Petter Reinholdtsen
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]