Subject: Re: Recording reboot in boothowto
To: None <firstname.lastname@example.org>
From: Greg Troxel <email@example.com>
Date: 12/17/2007 08:13:13
Joerg Sonnenberger <firstname.lastname@example.org> writes:
> Note that I don't care if we use boothowto or a global enum system_state
> (RUNNING, REBOOT, HALT, POWERDOWN, PANIC or so). But I think for the
> rare cases we do care about, using a side channel is in the spirit of
Side access to globals is a bit icky, but I see the simplicity argument.
Using a function to return the value of interest, or at least a variable
that is just for this purpose seems nicer than inspecting a variable
that has multiple other purposes.