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

From: Jon Smirl
Date: Mon Jul 10 2006 - 10:56:26 EST


On 7/10/06, Antonino A. Daplas <adaplas@xxxxxxxxx> wrote:
> Before the change /proc/tty/drivers shows this:
>
> [jonsmirl@jonsmirl ~]$ cat /proc/tty/drivers
> /dev/tty /dev/tty 5 0 system:/dev/tty
> /dev/console /dev/console 5 1 system:console
> /dev/ptmx /dev/ptmx 5 2 system
> /dev/vc/0 /dev/vc/0 4 0 system:vtmaster

vtmaster was /dev/tty0 in 2.2.x, changed to /dev/vc/0 probably
because of devfs. I would tend to agree with the change of at least
this part.

A few apps do rely on /proc/tty/drivers for the major-minor
to device name mapping. /dev/vc/0 does not exist (unless
created manually) without devfs.

This is why I questioned if /proc/tty was really in use, it contains
an entry that is obviously wrong for my system.

--
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/