Re: Initramfs and TMPFS!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 25, 2005 at 11:38:49AM -0400, [email protected] 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.

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.


Erik

-- 
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux