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
On Mar 23, 2:57am, joerg%britannica.bec.de@localhost (Joerg Sonnenberger)
wrote:
-- Subject: Re: CVS commit: src/sys/fs/ptyfs
| 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.
|
| Case 2: You want to mount /dev/pts inside the chroot and want to use
| e.g. sshd inside the chroot.
The problem is that we cannot mount ptyfs multiple times. There are two
ways:
- share major number and keep track which pty is under which mount.
that will make both mounts not have sequential pty numbers.
- have a separate major number for each mount.
christos
Home |
Main Index |
Thread Index |
Old Index