Re: [PATCH] Clean up old names in tty code to current names

Jon Smirl
2006-07-10T13:03:53Z

On 7/10/06, Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> Ar Llu, 2006-07-10 am 08:41 -0400, ysgrifennodd Jon Smirl:
> > The whole naming scheme encoded into the tty code is incompatible with
> > udev. Udev allows renames and this code isn't aware of them.
>
> The idea is not to break stuff.

I agree with this. I made a mistake with the pts vs pty, why not just
help me fix the mistake instead of rejecting everything? Some the of
the info being reported in /proc/tty/drivers is wrong (vc./0 - from
the devfs attempt?). or missing.

> > It does seem that we are missing a user space library call for
> > converting a device number into a device name using the udev database.
>
> A very large number of users don't bother with udev. Relying on udev is
> not a wise thing to assume, especially in the embedded space.

I'm not going to solve this problem but it is something that needs to
be discussed. Are we really going to maintain parallel naming schemes,
one in-kernel and one out of kernel? I'm not even sure if USB will
work without udev anymore.

--
Jon Smirl
jonsmirl@gmail.com