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




To: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>, YAMAMOTO Takashi <yamt%mwd.biglobe.ne.jp@localhost>

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

From: christos%zoulas.com@localhost (Christos Zoulas)

Date: Sun, 22 Mar 2009 22:49:10 -0400


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


References:

Re: CVS commit: src/sys/fs/ptyfs
From: Joerg Sonnenberger




Prev by Date: Re: CVS commit: src/sys/fs/ptyfs

Next by Date: Re: CVS commit: src/sys/fs/ptyfs

Previous by Thread: Re: CVS commit: src/sys/fs/ptyfs

Next by Thread: Re: CVS commit: src/sys/fs/ptyfs

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index