[lkml]   [2001]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Journaling: Surviving or allowing unclean shutdown?
in an enbedded device you can

1. setup the power switch so it doesn't actually turn things off (it
issues the shutdown command instead)

2. run from read-only media almost exclusivly so that power event's don't
bother you much

3. you can add extra power inside the device so that if someone does pull
the plug, you have a few seconds of power to do the clean shutdown

4. you can run out of ram and force the user to do an extra step to save
any changes to non-volitile storage (and if they power off during the save
the results are undefined)

I have seen all of these approaches used in different devices (that are
not running linux). This is not a new problem and the people working in
this space have a bunch of answers.

an improved filesystem that tolorates bad shutdowns reasonably well will
be welcomed for other reasons, but should not be viewed as a fix for
people pulling the plug on you.

David Lang

On Thu, 4 Jan 2001, David Woodhouse wrote:

> Date: Thu, 04 Jan 2001 17:52:25 +0000
> From: David Woodhouse <>
> To: David Lang <>
> Cc: Daniel Phillips <>,
> Helge Hafting <>,
> Subject: Re: Journaling: Surviving or allowing unclean shutdown?
> said:
> > for crying out loud, even windows tells the users they need to
> > shutdown first and gripes at them if they pull the plug. what users
> > are you trying to protect, ones to clueless to even run windows?
> Precisely. Users of embedded devices don't expect to have to treat them
> like computers.
> --
> dwmw2
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:52    [W:0.112 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site