Re: Journaling: Surviving or allowing unclean shutdown?

David Woodhouse
2001-01-04T10:25:48Z

On Thu, 4 Jan 2001, Daniel Phillips wrote:

> > Nothing wrong with a filesystem (or apps) that can handle being
> > powered down. But I prefer to handle this kind of users with a
> > power switch that merely acts as a "shutdown button" instead of
> > actually killing power. The os will then run the equivalent of
> > "shutdown -h now"
>
> And you give your customer clear instructions that they are not under
> any circumstances to unplug the device without turning it off first?
> And when they do it anyway you void their warranty?

s/unplug the device/remove the battery/ makes it _slightly_ more sensible
but not a lot.

I spent a week with an X10 controller and a device with JFFS root
filesystem running dbench from init, power cycling it every five minutes.
If JFFS at least doesn't survive unclean shutdowns, I want to know about
it.

--
dwmw2