[Grml] Re: Brittle init.d scripts - tmpfs ramfs

Mark 27e3kk302 at sneakemail.com
Sun Jan 28 23:52:58 CET 2007

> "Defensive code" might mean "do not start a service if you can not
> log to the specified logfile" as well. So: "depends"

Defensive code always means: check for errors, take action as needed
(e.g. cleanup), and message the caller/user/system.  The let-it-explode
philosophy would work only if every failure were clean.

> Right - all changes during use of the unionfs overlay were written
> to tmpfs instead of /var/log on harddisk. Cute, nor? :)

Cute - and more complex than our workaround.  But thanks for the tip! 
Nice to know.


More information about the Grml mailing list