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
chroot(8).
--
- mdz
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: