From: "H. Peter Anvin" <hpa@zytor.com>
To: Edgar Toernig <froese@gmx.de>
Cc: Albert Cahalan <albert@users.sourceforge.net>,
linux-kernel mailing list <linux-kernel@vger.kernel.org>,
cloos@jhcloos.com, root@chaos.analogic.com, nuno@itsari.org
Subject: Re: something funny about tty's on 2.6.4-rc1-mm1
Date: Tue, 02 Mar 2004 15:59:59 -0800 [thread overview]
Message-ID: <40451FFF.5030308@zytor.com> (raw)
In-Reply-To: <20040302234626.1f00e788.froese@gmx.de>
Edgar Toernig wrote:
>
> IMHO more important: what about utmp? It would become terribly
> large. Beside that, such huge numbers won't fit into ut_id.
>
> Ciao, ET.
>
> --[man utmp extract]--
> ...
> char ut_id[4]; /* init id or abbrev. ttyname */
> ...
> xterm(1) and other terminal emulators directly create a
> USER_PROCESS record and generate the ut_id by using the
> last two letters of /dev/ttyp%c or by using p%d for
> /dev/pts/%d. If they find a DEAD_PROCESS for this id,
> they recycle it, otherwise they create a new entry.
> ...
That's broken for anything more than 1000 ptys, OR if you're using BSD
and Unix98 ptys at the same time.
In other words, it's totally broken.
-hpa
next prev parent reply other threads:[~2004-03-03 0:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-02 19:04 something funny about tty's on 2.6.4-rc1-mm1 Albert Cahalan
2004-03-02 19:54 ` H. Peter Anvin
2004-03-02 22:46 ` Edgar Toernig
2004-03-02 23:59 ` H. Peter Anvin [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-03-03 4:12 Albert Cahalan
2004-03-01 18:45 Nuno Monteiro
2004-03-01 19:09 ` Richard B. Johnson
2004-03-02 5:47 ` H. Peter Anvin
2004-03-02 14:52 ` James H. Cloos Jr.
2004-03-02 15:02 ` Richard B. Johnson
2004-03-02 17:47 ` James H. Cloos Jr.
2004-03-02 16:54 ` H. Peter Anvin
2004-03-02 22:08 ` Andrew Morton
2004-03-03 2:29 ` H. Peter Anvin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40451FFF.5030308@zytor.com \
--to=hpa@zytor.com \
--cc=albert@users.sourceforge.net \
--cc=cloos@jhcloos.com \
--cc=froese@gmx.de \
--cc=linux-kernel@vger.kernel.org \
--cc=nuno@itsari.org \
--cc=root@chaos.analogic.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.