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

Re: Faster shutdown and the ubuntu "multiuser" update-rc.d extention



On 04-Jan-08, 11:36 (CST), Simon Richter <sjr@debian.org> wrote: 
> Erm, if a daemon loses data if it is given five seconds advance warning, 
> then it would also lose data on power loss, which is a bug and should be 
> fixed, not worked around.

No, it's not a bug, it's simply a fact of life for certain kinds of
services: it can take more than 5 seconds to flush all the changes to
disk, especially when all the other services on the machine are shutting
down at the same time.

And yes, a power loss would cause a data loss. That's why such systems
are running from UPS's capable of initiating a shutdown several minutes
before power runs out.

Steve
-- 
Steve Greenland
    The irony is that Bill Gates claims to be making a stable operating
    system and Linus Torvalds claims to be trying to take over the
    world.       -- seen on the net


Reply to: