Re: Is initramfs freed after kernel is booted?

From: Chris Friesen (cfriesen_at_nortelnetworks.com)
Date: 11/17/03

  • Next message: Richard B. Johnson: "Re: softirqd"
    Date:	Mon, 17 Nov 2003 09:39:53 -0500
    To: Jeff Garzik <jgarzik@pobox.com>
    
    

    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.

    Chris

    -- 
    Chris Friesen                    | MailStop: 043/33/F10
    Nortel Networks                  | work: (613) 765-0557
    3500 Carling Avenue              | fax:  (613) 765-2986
    Nepean, ON K2H 8E9 Canada        | email: cfriesen@nortelnetworks.com
    -
    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/
    

  • Next message: Richard B. Johnson: "Re: softirqd"