lkml.org 
[lkml]   [2013]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [RFC] rootmpfs
    Date
    Rob Landley <rob <at> landley.net> writes:

    > Attached is my quick and dirty hack to make rootfs be tmpfs when
    > CONFIG_TMPFS is
    > enabled. It can't be this easy or somebody would have done it in the
    > _eight_years_
    > since https://lkml.org/lkml/2006/7/31/145

    Hi Rob,

    We've been using a variation of the 2006 patch in TinyCore for years. It's
    a fairly essential piece for us, as using it can save several seconds of
    boot time for us.

    Since we run in the initramfs, to get size limits and swappability, we used
    to tar the files and switch_root. Both unnecessary steps when the kernel
    could directly unpack to tmpfs.

    So consider this a +1 "we use this".

    - Lauri



    \
     
     \ /
      Last update: 2013-04-11 20:01    [W:3.216 / U:1.292 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site