Source-Changes-D archive

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

Re: CVS commit: src/sys/fs/ptyfs



hi,

> On Mon, Mar 23, 2009 at 01:34:16AM +0000, YAMAMOTO Takashi wrote:
>> probably i'm missing something obvious.
>> i don't understand why you need to have two different behaviours.
>> the chroot one can't work for the non-chroot case?
> 
> Case 1: You have /dev/pts mounted outside the chroot and want to use
> e.g. sshd inside the chroot.

in this case, there is no "correct" pathname anyway, right?
i think it's more appropriate to return an error so that an application
can fall back to eg. dev.db.

YAMAMOTO Takashi

> 
> Case 2: You want to mount /dev/pts inside the chroot and want to use
> e.g. sshd inside the chroot.
> 
> Joerg


Home | Main Index | Thread Index | Old Index