[lkml]   [2005]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectInitramfs and TMPFS!

>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

Right, but it would be nice to have that option if initramfs
using tmpfs becomes part of the kernel.

>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

You get this error without it.
init/main.c: In function `overmount_rootfs':
init/main.c:663: warning: implicit declaration of function `get_fs'
init/main.c:663: error: incompatible types in assignment
init/main.c:664: warning: implicit declaration of function `set_fs'
init/main.c:664: error: `KERNEL_DS' undeclared (first use in this function)
init/main.c:664: error: (Each undeclared identifier is reported only once
init/main.c:664: error: for each function it appears in.)
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-08-25 06:35    [W:0.028 / U:2.992 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site