//sys/class/tty/ptmx/subsystem/ttyS27/device/tty/ttyS9/flags