[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: chroot in /usr and initrd booting

On Tue, Jun 11, 2002 at 02:31:32PM -0400, Matt Zimmerman wrote:
> On Fri, Jun 07, 2002 at 03:32:57AM +0200, Andreas Bombe wrote:

> > I have filed #146208 against shellutils almost a month ago.  It's about
> > the chroot binary being in /usr/sbin instead of /sbin and I didn't get any
> > reaction so far.

> 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?

Steve Langasek
postmodern programmer

Attachment: pgpKZeAesoV_P.pgp
Description: PGP signature

Reply to: