Will Dyson on Mon, 29 Sep 2003 20:48:05 -0400


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

Re: [PLUG] expect, /dev/pts, and a chroot


On Mon, 2003-09-29 at 14:04, sean finney wrote:
> On Mon, Sep 29, 2003 at 12:03:28PM -0400, Alex Birch wrote:
> > What happens if you did a mount /dev /new_to_be_root/dev
> > chroot /new_to_be_root
> 
> so i tried doing a bind mount for all of /dev:
> 
> mount --bind /dev /chroot/dev
> 
> which also didn't seem to work, and now i can't even seem to allocate
> pty's in the non-chrooteed environment even after unmounting it... whee!

That really should work. What kernel version are you using?

-- 
Will Dyson
"Back off man, I'm a scientist!" -Dr. Peter Venkman

_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug