Re: chroot in /usr and initrd booting
On Tue, Jun 11, 2002 at 01:34:00PM -0500, Steve Langasek wrote:
> On Tue, Jun 11, 2002 at 02:31:32PM -0400, Matt Zimmerman wrote:
> > If a chroot() will always (or almost always) be required after
> > pivot_root(), it should simply be done in pivot_root.c, and the 'chroot'
> > program can stay where it is.
> How do you make the pivot_root command chroot its parent process? And
> even if you can, does it follow that this is always correct?
chroot(8) doesn't chroot its parent process either. If pivot_root were
doing that job in this instance, it would presumably work similarly to
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org