lkml.org 
[lkml]   [1998]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Unix98 PTYs and Changes/devices.txt
Date
Followup to:  <Pine.LNX.4.05.9811280030340.331-100000@tahallah.demon.co.uk>
By author: Alex Buell <alex.buell@tahallah.demon.co.uk>
In newsgroup: linux.dev.kernel
>
> i'm trying to figure out the changes that needs to be made to /dev/** to
> enable this feature to work.
>
> I completely shagged the /dev/tty* stuff following the information
> contained in Changes/devices.txt in Documentation.
>
> It seems that Slack_whore_ (3.1 which was the original installation on
> this machine) defines /dev/ttyN as members of character device major 4.
> The Changes says to create ttyN as device major 3. Huh? What gives? Yet
> again, the device.txt presents conflicting information, so I'm
> thoroughtly confused now. :/ If I change to major 3, agetty/init gets very
> unhappy.
>

Slackware is using a royally obsolete configuration (pretty
characteristic of that distribution, by the way.) These devices have
been obsolete since 1995.

> Is there any resources out there which explains this better?
>
> Also, X complains about not being allowed to operate upon /dev/ttypN
> devices - this was what prompted me to investigate and try and solve it.

This is because the X clients you have are using the BSD API, not the
Unix98 one. BSD-API programs still use /dev/[pt]typ* etc.

> And yes, I do have glibc-2.0.104 installed.

-hpa

--
PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74
See http://www.zytor.com/~hpa/ for web page and full PGP public key
I am Bahá'í -- ask me about it or see http://www.bahai.org/
"To love another person is to see the face of God." -- Les Misérables

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.035 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site