NetBSD-Users archive

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

Re: ptyfs and chroot environments



campbell+netbsd%mumble.net@localhost (Taylor R Campbell) writes:

>I can work around this by unmounting ptyfs, and that's what I'll do
>for now.  Are there any other ways around this?

You could just create /dev/pty[pqrs]XX and /dev/tty[pqrs]XX inside
the chroot. It even has one advantage, you can limit how many
PTYs can be used inside the chroot.

> Is there a danger to
>having multiple ptyfs mounts, or could the ptyfs code be adapted to
>support this?

ptyfs code would need to be changed.

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index