|
|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Slawa Olhovchenkov 2:5030/500 08 Feb 2006 11:48:34 To : All Subject : Вести с полей --------------------------------------------------------------------------------
cognet 2006-01-26 01:30:34 UTC
FreeBSD src repository
Modified files:
sys/conf files
sys/kern tty_pty.c
sys/sys ttycom.h
Added files:
sys/kern tty_pts.c
Log:
Bring in a sysv-style pts implementation, as found in the rwatson_pts perforce
branch. It works the same as its SysV/linux
+counterpart : You obtain a fd to the master pseudo terminal by opening
/dev/ptmx, which craetes a node for the master as
+/dev/pty[num] and a node for the slave as /dev/pts/[num].
It should play nicely with the existing BSD ptys.
By default, the system will use the BSD ptys, one can set the sysctl
kern.pts.enable to 1 to make it use the new pts system.
The max number of pty that can be allocated on a system can be changed with
the
sysctl kern.pts.max. It defaults to 1000, and can be increased, but it is not
recommanded, as any pty with a number > 999 won't be handled by whatever uses
utmp(5).
... Сколько можно издеваться над файловой системой?!
--- GoldED+/BSD 1.1.5
* Origin: (2:5030/500)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/222143e9a277.html, оценка из 5, голосов 10
|