On 6 Feb 2010, at 21:55, Ian Hobson wrote:
> Eleanor McHugh wrote:
>> Remembering of course to explicitly flush the file buffer of the status file and sync the filesystem before performing the reboot :)
>>  
> I'm astonished that the system reboot command does not do this!
> 
> Closing the file is certainly necessary. Isn't the rest unnecessary?
> 
> Curious

If journalling's enabled on the filesystem it's *probably* unnecessary, but let's just say I've been stung enough times to be naturally cautious...


Ellie

Eleanor McHugh
Games With Brains
http://slides.games-with-brains.net
----
raise ArgumentError unless @reality.responds_to? :reason