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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Jon Smirl wrote:
> On 7/10/06, Alan Cox <[email protected]> wrote:
>> Ar Llu, 2006-07-10 am 09:03 -0400, ysgrifennodd Jon Smirl:
>> > 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.
>> What are you trying to achieve and where are you trying to get. If you
>> want better info for the tty layer then get the new info working in
>> sysfs first. Then when people are generally using sysfs you can worry
>> about cleaning up/removing/breaking the old stuff.
> 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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at
Please read the FAQ at

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux