Re: Change number of tty devices

From: James Simmons
Date: Sat Apr 24 2004 - 22:20:03 EST



> First off, thanks for the reply. Does lowering the number of tty devices
> interfer with the creation of serial consoles? Can't they start at the
> same major number without an issue?

No. It when we need more than 64 VCs.

> > What is even more is that there exist ioctls that return shorts
> > which means only 16 VCs can be accounted for on a VT.
>
> So is my limit wrong? Should I up the lower limit to 16 to account for
> this?

I would recommend it.

> > When the kernel supports multi-desktop systems we will have to deal
> > with the serial and VT issue. Most likely the serial tty drivers will
> > be given a different major number.
>
> Why isn't this done now?

We are in a stable release.

> > I personally believe that because
> > of the 16 bit limit that there should be 16 VCs per VT terminal.
>
> That does make sense.
>
> Just a side note: I have been running with 12 (0 - 11) tty devices
> without issue. I haven't tried a serial console, but will shortly, just
> to see if it interferes with serial console creation.

It should be no problem. I hate hard limits tho. I rather have a lean
system that only allocates resources when we want them.


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