NetBSD-Users archive

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

Re: ptyfs and chroot environments



In article <20100401232440.GA12548%panix.com@localhost>,
Thor Lancelot Simon  <tls%panix.com@localhost> wrote:
>On Wed, Mar 31, 2010 at 09:58:15PM -0400, Taylor R Campbell wrote:
>> (I am not subscribed to this list, so please cc me in replies.)
>> 
>> ptyfs interacts badly with chroot environments.  Since there can be
>> only one ptyfs mount at any given time, a chroot environment cannot
>> use ptm(4) to allocate ptys, because it will return /dev/pts/N to the
>> userland, which does not (and cannot) exist in the chroot environment.
>
>I thought /dev/ptmx worked without ptyfs mounted?

It does.

christos



Home | Main Index | Thread Index | Old Index