[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Modified start-stop-daemon and possible boot logo (was: Translation of init scripts)



> I thought of writing a /usr/bin/tee like program. It is started from inittab
> or /etc/init.d/rc and catches stdin/err. In addition to forwarding its input
> to the console, it saves everything into a buffer. On a certain signal/exit
> it appends the buffer to /var/log/bootlog or that like.

No, probably better to write everything to the log as it arrives with
no buffering.  A bit slower, yes, but it means that critical boot
messages won't be lost if the boot sequence fails.  However, you will
need to cache until you have a writeable /, which may never happen,
for example, on a network mount.

Ho hum.

   Julian

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  Julian Gilbey, Dept of Maths, QMW, Univ. of London. J.D.Gilbey@qmw.ac.uk
        Debian GNU/Linux Developer,  see http://www.debian.org/~jdg


Reply to: