How do I set the tty name associated with a physical port?

How do I set the tty name associated with a physical port? From: accapadi@mathew.austin.ibm.com (Matt Accapadi)


Let's say you wanted to make a tty on the s1 port and call it rs0000
and a tty on the s2 port and call it rs0001.

You could run:

mkdev -c tty -s rs232 -t tty -l rs0000 -p sa0 -w s1 # creates rs0000
and
mkdev -c tty -s rs232 -t tty -l rs0001 -p sa1 -w s2 # creates rs0001




Home FAQ