From b2a04cbfdf2c1f283bc10cdb112c0e5486617b40 Mon Sep 17 00:00:00 2001 From: Sorgelig Date: Thu, 23 May 2019 02:46:26 +0800 Subject: [PATCH] vt: reduce from 63 to 9 ttys. --- include/uapi/linux/vt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/linux/vt.h b/include/uapi/linux/vt.h index e9d39c485..58d8965cb 100644 --- a/include/uapi/linux/vt.h +++ b/include/uapi/linux/vt.h @@ -8,7 +8,7 @@ * resizing). */ #define MIN_NR_CONSOLES 1 /* must be at least 1 */ -#define MAX_NR_CONSOLES 63 /* serial lines start at 64 */ +#define MAX_NR_CONSOLES 9 /* serial lines start at 64 */ /* Note: the ioctl VT_GETSTATE does not work for consoles 16 and higher (since it returns a short) */