devpts.... che cos'è?
Marco Ghidinelli
marcogh a atdot.org
Dom 19 Mar 2000 13:50:41 UTC
On Sat, Mar 18, 2000 at 11:31:04PM +0100, MaX in the FaX wrote:
> # none /dev/pts devpts mounted
CONFIG_UNIX98_PTYS:
A pseudo terminal (PTY) is a software device consisting of two
halves: a master and a slave. The slave device behaves identical to
a physical terminal; the master device is used by a process to
read data from and write data to the slave, thereby emulating a
terminal. Typical programs for the master side are telnet servers
and xterms.
Linux has traditionally used the BSD-like names /dev/ptyxx for
masters and /dev/ttyxx for slaves of pseudo terminals. This scheme
has a number of problems. The GNU C library glibc 2.1 and later,
however, supports the Unix98 naming standard: in order to acquire a
pseudo terminal, a process opens /dev/ptmx; the number of the pseudo
terminal is then made available to the process and the pseudo
terminal slave can be accessed as /dev/pts/<number>. What was
traditionally /dev/ttyp2 will then be /dev/pts/2, for example.
The entries in /dev/pts/ are created on the fly by a virtual
file system; therefore, if you say Y here you should say Y to
"/dev/pts file system for Unix98 PTYs" as well.
--
piscio sui pomponi e sui cilindri dispari -- Ed Il Polso 1975
icq#23131195 mail:marcogh a atdot.org
Maggiori informazioni sulla lista
Lug
|