pts changes

Kernel development, writing drivers, coding, and questions regarding FreeBSD internals.

pts changes

Postby izotov » 21 Nov 2011, 12:54

Hi,

As I can see [man=4]pts[/man] in 9.0 is changed in comparison to 8.2. According to the manual (and from the new code) the 999 restriction to the number of pseudo-terminals is raised: it seems that the line length is extended to 16 chars from 8 (999 -> 99.999.999.999). Am I right? Could someone give me some explanation about this?

Thanks!
izotov
Member
 
Posts: 118
Joined: 02 Feb 2010, 07:35
Location: Budapest, Hungary

Postby jilles@ » 22 Nov 2011, 22:02

You are right. This is because [file]utmp[/file] was replaced with [file]utmpx[/file] and various limits were increased at that time.

The limit in 8.x is in the kernel but is only there because of [file]utmp[/file] and its importance for tracking sessions.
jilles@
Junior Member
 
Posts: 35
Joined: 29 Sep 2010, 17:00

Postby izotov » 23 Nov 2011, 11:58

Thanks. Anyways I must enable 999+ pts on 8.1. (:
izotov
Member
 
Posts: 118
Joined: 02 Feb 2010, 07:35
Location: Budapest, Hungary


Return to FreeBSD Development

Who is online

Users browsing this forum: No registered users and 0 guests