//sys/class/tty/ptmx/subsystem/ttyS4/subsystem/tty/subsystem/ttyS9/flags