On Linux, skip virtual ttys that have no parent device.