Re: Bug in ext2fs or e2fsck 1.02?

Theodore Y. Ts'o (tytso@MIT.EDU)
Fri, 31 Jan 1997 15:31:57 -0500


Date: Thu, 30 Jan 1997 22:25:13 GMT
From: "Stephen C. Tweedie" <sct@dcs.ed.ac.uk>

The problem is just in the disagreement between e2fsck and the kernel
over which is the right thing to do. We can fix it in either e2fsck
or the kernel, and neither is really any more correct than the other.
For what it's worth, I tend to think that the kernel can afford to be
a conservative here, so any change in the . or .. dirents is
reasonable cause for getting upset.

I've always been of the "be conservative in what you send, and liberal
in what you accept". So I'll be changing e2fsck to fix non-NULL
terminated directories, but I think it would also be good for the Kernel
to not require that . and .. be NULL-terminated.

- Ted