for master /dev/pts/x
maps to slave terminal /dev/tty[S]y
, what/where is the mapping function/database from x
to [S]y
?
1 Answer
The kernel acts as the mapping function/database. Each of those slave devices is a connection (identified by the device major/minor number) and stored in the kernel.
-
question is about what is the associated tty[x]y(slave) to pts[a]b(master)?– ErrorJun 28, 2017 at 14:14