Re: fsync on large files

Oliver Xymoron (oxymoron@waste.org)
Wed, 17 Feb 1999 22:37:16 -0600 (CST)


On Thu, 18 Feb 1999, Chris Wedgwood wrote:

> On Wed, Feb 17, 1999 at 10:23:29AM -0800, Linus Torvalds wrote:
>
> > Umm.. We _never_ use "." and ".." in filesystems. Never.
>
> Surely ".." is of some value (perhaps not now, but maybe in the
> future) to e2fsck is the disk gets corrupted?

Yes, definitely. I've certainly found it useful in reconstructing damage
by hand. Doesn't mean the kernel has to use it, it just has to maintain
it. I can see how having the kernel not rely on them (already the case) is
a win, but I can't see why saving the couple dozen bytes per directory and
the overhead at mkdir time is a big deal. Redundancy, if done right, can
increase robustness.

--
 "Love the dolphins," she advised him. "Write by W.A.S.T.E.." 

- 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/