Re: [PATCH] devfs v99.11 available

From: Chipzz (chipzz@Ace.ULYSSIS.Student.KULeuven.Ac.Be)
Date: Fri Feb 11 2000 - 01:48:58 EST


On Thu, 10 Feb 2000, Khimenko Victor wrote:

> From: Khimenko Victor <khim@sch57.msk.ru>
> Subject: Re: [PATCH] devfs v99.11 available
>
> In <Pine.LNX.4.10.10002090846040.2414-100000@maxwell.futurevision.com> James Simmons (jsimmons@acsu.buffalo.edu) wrote:
>
> >> This is against 2.2.14. Highlights of this release:
> >>
> >> - Ported devfs-patch-v99.10 to kernel 2.2.14
> >>
> >> - Moved /dev/tty0 to /dev/vc/0
>
> > Why did you move tty0 to vc/0 ? The console system will be changing for
> > 2.5.X. It will become multihead aware which means that we might end up
> > with /dev/tty representing physical heads and /dev/vty to represent
> > virtual consoles.
>
> There are EXECTLY one tty with devfs now: /dev/tty - current tty for process.

Define current?
All you guys are just going on and on about multiple heads, but I have a
question too:

It's possible to not only have more than 1 monitor, but also more than one
keyboard (PS/2 and USB for example). Suppose you have 2 keyboards and two
monitors. Now how do you define current?

Or am I just completely missing the point here?

> I think this name is used that way even before Linux. Now there are
> /dev/vc/* to represent virtual consoles and /dev/vcc/* to represent color
> virtual consoles (i.e. virtual consoles with attributes). /dev/tty0 was
> "current" virtual console. So it naturally belond to /dev/vc/0 . With multihead
> one additional directory can be itroduced for physical heads
> (/dev/<something>/*) but /dev/vc/* will be virtual consoles anyway and
> /dev/vc/0 will be current virtual console. You can not use names /dev/tty/*
> for "physical heads" and use /dev/tty at the same time (even with devfs you
> can not have character device and directory with the same name in one
> subdirectory). So what's strange with this decision ?

Greetings,

Chipzz AKA
Jan Van Buggenhout

--------------------------------------------------------------------------
                  UNIX isn't dead - It just smells funny
                Chipzz@Ace.ULYSSIS.Student.KULeuven.Ac.Be
--------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:19 EST