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?


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)? – Error Jun 28 '17 at 14:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.