Re: Patch (repost): cramfs memory corruption fix

Chris Wedgwood (cw@f00f.org)
Mon, 8 Jan 2001 10:54:09 +1300


On Sun, Jan 07, 2001 at 11:56:38AM -0800, Linus Torvalds wrote:

This is actually where I agree with whoever it was that said that
ramfs as it stands now (without the limit checking etc) is much
nicer simply because it can act as an example of how to do a
simple filesystem.

That was me. ramfs is mimnimalist and if we must extend/bloat ramfs
then I suggest we adding a backing store al la tmpfs or memfs and
change it's name.

Don't get me wrong, I _like_ ramfs and want a backing store and
perhaps limits (I use ramfs for /tmp and decided to put over a
million files in there once as a test, kaboom), but I'm no guru and
would love to see ramfs stay as is -- because _I_ can understand it.
To me, that is worth a lot -- ramfs is only 8k, tiny to keep about as
an example I should think.

I wonder what to do about this - the limits are obviously useful,
as would the "use swap-space as a backing store" thing be. At the
same time I'd really hate to lose the lean-mean-clean ramfs.

ramfs-> skeletonfs
ramfs+bloat -> vmfs

--cw

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