Re: Initramfs and TMPFS!

From: Chris Wedgwood
Date: Wed Aug 24 2005 - 22:13:11 EST


On Wed, Aug 24, 2005 at 06:41:26PM -0400, robotti@xxxxxxxxxxx wrote:

> I tried it with kernel 2.6.13-rc5 and it seems to work.

it should yes

> It uses 50% of total memory for tmpfs, but it would be nice to have
> an option (tmpfs_size=90% etc.) that you could pass to the kernel.

that's just because of the tmpfs default; you can remount to change
that if it's not suitable once your up and running in your
init-scripts or whatever


> You need to add this to init/main.c for it to compile.
> #include <asm/uaccess.h>

hmm... really? i'll rediff it at some point and test it maybe. i
really don't like the explicity shm init though, i'd like to think of
a cleaner way to do that
-
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/