Why are the serial port numbers changing?

Why are the serial port numbers changing?

Dotan Cohen dotancohen at gmail.com
Thu Jul 8 22:30:16 IDT 2010


On 8 July 2010 20:45, Hetz Ben Hamo <hetzbh at gmail.com> wrote:
> IIRC correctly, it's due to the new features in Ubuntu (and Fedora): Each
> time you boot the machine, it re-maps everything, although most of the maps
> remains the same.
>
> You can, after the machine has finished booting, scan the tty for the new
> serial ports and use them whatever you like, since the /dev tree is being
> re-created every boot.
> Hetz

Thanks. I have some scripts that depend on the device being found at a
particular tty. How can I disable scanning so that I won't have to
change the scripts? Or, how can I tell what device is on which tty in
my scripts?

Thanks!

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com



More information about the Linux-il mailing list