In bash in lxterminal
$ tty /dev/pts/2 $ ls /dev/ptmx -l crw-rw-rw- 1 root tty 5, 2 May 26 09:38 /dev/ptmx
On Ubuntu, is there only one master for all the processes, and all the slaves are paired with the same master?
If different slaves are paired with different masters,
- why is only one master shown above?
- how can I find out the master for a given slave, and find out the slave for a given master?