Re: scary ext2 filesystem question

Jeff Epler (jepler@inetnebr.com)
Fri, 25 Dec 1998 11:13:59 -0600


On Fri, Dec 25, 1998 at 11:42:57AM -0500, Mirian Crzig Lennox wrote:
> I was reading a book on filesystem design, and came across the
> following scary quote:
>
[.. snip]

The inconsistency problems discussed here apply to the data on the disk.
As long as you don't crash while the disk data is half-written in this odd
order, the buffer cache will give your application a sane view of the
filesystem contents.

What the text is talking about is how an application would recover
half-written datafiles after a crash (and after e2fsck had done its best)
..

But best to just make sure the kernel never crashes and the power never
fils.

Jeff

-- 
\/ http://www.redhat.com/                        Jeff Epler jepler@inetnebr.com
Worth seeing?  Yes, but not worth going to see.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/