Re: Is initramfs freed after kernel is booted?

From: Chris Friesen
Date: Mon Nov 17 2003 - 11:10:01 EST


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?

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@xxxxxxxxxxxxxxxxxx

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/