lkml.org 
[lkml]   [2003]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Is initramfs freed after kernel is booted?
    On Mon, Nov 17, 2003 at 11:06:48AM -0500, Chris Friesen wrote:
    > Kevin P. Fleming wrote:
    >
    > >There is no pivot_root happening here; the kernel creates a ramfs and
    > >mounts it on / (as rootfs), then unpacks the initramfs cpio archive into
    > >it. After doing a few more steps, it overmounts the real root onto /,
    > >making the rootfs filesystem invisible. It is not freed in the current
    > >kernels.
    >
    > Anyone know why it overmounts rather than pivots?

    Because amount of extra code you lose that way takes more memory than
    empty roots takes.

    Remove whatever files you don't need and be done with that.
    -
    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-03-22 13:58    [W:0.019 / U:285.604 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site