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

>On Thu, Aug 25, 2005 at 11:38:49AM -0400, robotti@xxxxxxxxxxx wrote:
>What if you have a root.cpio.gz that requires 200MB to hold, but you
>only have 300MB of memory?
>
>50% of total memory wouldn't hold it, but 90% etc. would
>(tmpfs_size=90%).

>>tmpfs will not help you here. Yes, it can be swapped, but just like
>>with ramfs you first need to *unpack* the cpio archive before you can
>>even start the "swapon /dev/hda2" command on it.

I was making a case for a tmpfs_size option if tmpfs is used for a initramfs,
because tmpfs has a default 50% memory limit.

>>Same with initrd, btw. If the compressed initrd image, plus the
>>uncompressed image, plus the kernel size are larger than the memory
>>size, the system will not boot.

Right.


-
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 20:26    [W:0.024 / U:0.712 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site