Re: init is pid 1 vs. initrd

H. Peter Anvin (hpa@transmeta.com)
Fri, 17 Apr 1998 18:45:09 -0700 (PDT)


> H. Peter Anvin <hpa@transmeta.com> wrote:
> > Can't do that; init wouldn't have a handle to get to it. What you're
> > talking about perhaps might be doable, but it would be a huge hack.
>
> Hmm... can't you just specify "mount point for root directory" and let
> the kernel locate it? [Bailing out for an error if the root directory is
> the mount point.]
>

But you can't do that if the process you're running in is holding the
old root open. This is why I propose telling the kernel where the
pivot is, and then exiting (no processes running.)

-hpa

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu