Subject: Re: feature request: root file system change
To: matthew green <>
From: Martin Husemann <>
List: tech-kern
Date: 04/18/2005 16:21:24
On Mon, Apr 18, 2005 at 11:53:12PM +1000, matthew green wrote:
> this sounds like an OK idea except that i'd like to be able to free
> any memory allocated to the (first) root etc. and chroot won't do that.

If you do the first script exec from the kernel instead of init it
could do the necessary magic when the script exits (with proper return
code). Maybe it could even free an embedded memory disk image.