Re: NEWBIE: how to change serial device<->port association

From: Alan Cox
Date: Thu Jan 29 2009 - 11:34:33 EST


On Thu, 29 Jan 2009 17:22:54 +0100 (CET)
Jiri Kosina <jkosina@xxxxxxx> wrote:

> On Thu, 29 Jan 2009, Alan Cox wrote:
>
> > > The hws have a different combination of kind serials and I would like
> > > to present the same ttyS* to applications. I need to have different
> > By having multiple different kernels for the different systems ? That
> > sounds like a really really complicated way to go about the problem when
> > you could just add a config file to your application.
>
> Another possibility is udev rule.

If its a simple naming choice then a symlink might do the job. What
Fedora and several other distros do is to create symbolic links from
"virtual" names like /dev/modem and /dev/cdrom to the relevant port using
ln -s
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/