lkml.org 
[lkml]   [2005]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectInitramfs and TMPFS!

>>On Wed, Aug 24, 2005 at 04:52:37PM -0400, Wakko Warner wrote:
>>Care to send me the patch?
>Heh. Not really as I don't really know if people should be using it
>in it's current state --- the shmem init is very very hacky and I have
>other changes I've not had a chance to do.
>Anyhow, here is an older version of it. It's from some old internal
>embedded tree but should be trivial to shoehorn into anything recent.
>If people really do like or want this I would like to know and maybe
>something more elegant can be worked out.

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

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.

You need to add this to init/main.c for it to compile.
#include <asm/uaccess.h>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-08-25 00:44    [W:0.034 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site