[Pkg-sysvinit-devel] Bug#538257: inittab comment inconsistent with example.

Petter Reinholdtsen pere at hungry.com
Fri Jul 24 18:23:25 UTC 2009


[Marco Túlio Gontijo e Silva]
> /etc/inittab:
> 
> # The "id" field MUST be the same as the last
> # characters of the device (after "tty").
> (...)
> # Example how to put a getty on a serial line (for a terminal)
> #
> #T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
> 
> Shouldn't this be S0 instead of T0?

I am not sure.  I believe there is a size limit on the id field (2
characters), and for USB serial ports the device would be ttyUSB0 (see
#477656), it is not obvious for me why the file claim that the id need
to match the device name.  Perhaps the MUST should be changed to a
SHOULD?

Happy hacking,
-- 
Petter Reinholdtsen





More information about the Pkg-sysvinit-devel mailing list