[lkml]   [2003]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Is initramfs freed after kernel is booted?

    -----Original Message-----

    > Jeff Garzik wrote:
    > > Andrey Borzenkov wrote:
    > >
    > >> Apparently not:
    > >>
    > >> {pts/1}% head -2 /proc/mounts
    > >> rootfs / rootfs rw 0 0
    > >> /dev/root / reiserfs rw 0 0
    > >>
    > >> at least it is still mounted. Is there any way to free it?
    > > rootfs is always present. It's the root, as the name implies :)
    > He's got two root filesystems, one on top of the other. It should be
    > possible to pivot root rather than mount the second one, thus freeing up
    > the memory from the initramfs.

    my example is after pivot_root. I still have two roots.

    To clarify. I want to replace initrd with initramfs. Given all
    the stuff may be put in it can easily be expanded to a couple of MBs.
    initrd frees this. I do not want to waste RAM to leave them in initramfs.

    thank you

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:58    [W:0.023 / U:22.680 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site