From: H. Peter Anvin N9ITP (hpa@ahab.eecs.nwu.edu)
Date: 05/28/93


From: hpa@ahab.eecs.nwu.edu (H. Peter Anvin N9ITP)
Subject: Re: The great serial device naming controversy....
Date: Fri, 28 May 1993 15:46:52 GMT

One little problem:

If this is going to be the way to go (which is fine), then something
needs to be done about the Linux utmp/wtmp format:

struct utmp {
        short ut_type; /* type of login */
        pid_t ut_pid; /* pid of login-process */
        char ut_line[12]; /* devicename of tty -"/dev/", null-term */
        char ut_id[2]; /* abbrev. ttyname, as 01, s1 etc. */
                ^ ^ ^ ^ ^
        time_t ut_time; /* logintime */
        char ut_user[UT_NAMESIZE]; /* username, not null-term */
        char ut_host[16]; /* hostname for remote login... */
        long ut_addr; /* IP addr of remote host */
};

ut_id[] needs to be expanded to at least 3 characters, and who, last,
finger, login, xdm, and any other program that uses /etc/utmp or
/etc/wtmp needs to be recompiled.

        /hpa

-- 
INTERNET:  hpa@nwu.edu    FINGER:    hpa@ahab.eecs.nwu.edu
BITNET:    HPA@NUACC      IBM MAIL:  36073 at IBMX400
HAM RADIO: N9ITP, SM4TKN  NeXTMAIL:  hpa@speedy.acns.nwu.edu
This is a test of the emergency USENET system.  ^G^G^G^G^G^G^G^G^G^G^G^G