Subject: Re: TTY virtualization driver
To: NetBSD Kernel Technical Discussion List <tech-kern@NetBSD.ORG>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 01/24/2002 15:37:10
On Thu, 24 Jan 2002, Greg A. Woods wrote:

> [ On Thursday, January 24, 2002 at 16:57:32 (-0500), Lord Isildur wrote: ]
> > Subject: Re: TTY virtualization driver
> >
> > how does userland care, other than the names?
> > you want only one major number for all serial devices.. but whats the
> > point of that? it's merely one person's preference on aesthetics versus
> > another, whereas the device numbers do have real meaning.
>
> No, it's not just aesthetics -- we're talking about how the kernel maps
> hardware to device major number that userland considers, for _all_
> intents and purposes, identical in kind and use.

But isn't it? Why does userland care about major numbers? As long as
open("/dev/tty04", .., ..) opens what the sysadmin thinks is tty04, why
does it matter?

Take care,

Bill