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

From: Jon Smirl
Date: Mon Jul 10 2006 - 09:02:15 EST


On 7/10/06, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxx
-
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/