Re: [GIT PULL] Squashfs pull request for 2.6.29

From: Andrew Morton
Date: Sat Jan 10 2009 - 13:13:51 EST


On Sat, 10 Jan 2009 17:50:33 +0100 J__rn Engel <joern@xxxxxxxxx> wrote:

> What is the thing that makes a read only
> filesystem special?

Nothing, really.

The filesystem has mount options (I think). That interface needs to be
maintained.

More importantly, the filesystem driver has to be able to read older
filesystem instances. This is a userspace-visible binary interface!
A really complex one.

If for some reason we wish to change the on-disk format then that could
be done now. But once the code is merged, such changes could only be
done in a back-compatible way.

And the day-one code (ie: this code) would need to be designed so that
such on-disk changes can be made - we don't want old kernels exploding
when asked to read new-layout filesystem instances. This is what `grep
-i compat include/linux/ext2_fs.h' is all about.

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