lkml.org 
[lkml]   [2008]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] use tmpfs for rootfs
On Thu, 16 Oct 2008, Geert Uytterhoeven wrote:
> On Thu, 16 Oct 2008, Bodo Eggert wrote:

> > +config TMPFS_ROOT
> > + bool "Use tmpfs instrad of ramfs for initramfs"
> > + depends on TMPFS && SHMEM
> > + default n
> > + help
> > + This replaces the ramfs used for unpacking the cpio images
> > + with tmpfs.
> > +
> > + If unsure, say N
> > +
> > +config RAMFS
> > + bool "Ramfs file system support" if TMPFS_ROOT
> > + default y
> > + ---help---
> > + Ramfs is a file system which keeps all files in RAM. Unlike tmpfs,
> > + it cannot be swapped to disk, and it has the risk of deadlocking
> > + the system by using all memory.
> > +
> > + Ramfs is used for booting the system and unpacking the cpio if
> > + TMPFS_ROOT is not set.
>
> Something seems to be missing, as you add CONFIG_RAMFS, but it's nowhere used?
>
> Gr{oetje,eeting}s,

Yes. I managed to edit the wrong Makefile. Since there seems no way of
sensibly appending a patch to a mail, I'll reply with the corrected patch.
--
Never stand when you can sit, never sit when you can lie down, never stay
awake when you can sleep.


\
 
 \ /
  Last update: 2008-10-16 19:35    [W:0.057 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site