devpts

Thomas T. Veldhouse veldy at veldy.net
Fri Nov 10 08:05:24 PST 2000


Most applications will use it automatically.  The kernel dynamically
allocates device nodes as needed.

veldy    pts/0    Nov 10 10:00

Tom Veldhouse
veldy at veldy.net

----- Original Message -----
From: "Donnie Roos" <dr at kaneda.demon.nl>
To: <lfs-apps at linuxfromscratch.org>
Sent: Friday, November 10, 2000 9:50 AM
Subject: devpts


>
>
> Hi All,
>
> Currently I am trying to find out how to use devpts (/dev/ptmx /dev/pts)
>
> After searching in the kernel-documentation, manpages and various websites
> I have only found instructions on how to enable it.
>
> Enabling is as follows:
> kernel config: UNIX98_PTY, DEVPTS
> mknod /dev/ptmx c 5 2
> mkdir /dev/pts
> fstab: none /dev/pts devpts gid=<tty_id> mode=620 0 0
>
> These instructions I understand. However what I want to know is:
> - what does it replace
> - do applications automatically use it (or must I recompile)
> - can I delete the obsoleted /dev entries (and will everything continue to
> work)
>
> The little info that I have found suggests that it replaces /dev/ptyXX,
> /dev/ttyXX and /dev/ttypXX (this I found on a webpage about the release of
> kernel 2.2). However continued searching did not turn up anything that
> confirms this. Looking at my Slackware installation did not turn up
> anything usefull since it contains devpts as well as /dev/ptyXX,
/dev/ttyXX
> and /dev/ttypXX.
>
> So before enabling devpts and deleting the (obsolete?) /dev entries I
would
> like to hear from people more knowledgeable on devpts about it's usage.
>
> Thank's
>
> Donnie Roos
>
>
> --
> Unsubscribe: send email to lfs-apps-request at linuxfromscratch.org
> and put unsubscribe in the subject header of the message
>
>


-- 
Unsubscribe: send email to lfs-apps-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the blfs-support mailing list