[Devel] [PATCH libvzctl] lib/env.c: setup_devtmpfs -- Don't miss tty12 device

Cyrill Gorcunov gorcunov at virtuozzo.com
Mon Jan 11 05:40:54 PST 2016


Seems it has been lost while we were reworking tty layer code.

https://jira.sw.ru/browse/PSBM-41628

Signed-off-by: Cyrill Gorcunov <gorcunov at virtuozzo.com>
---
 lib/env.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/env.c b/lib/env.c
index 2bb8df8..aa60a10 100644
--- a/lib/env.c
+++ b/lib/env.c
@@ -645,6 +645,7 @@ static struct devnode {
 	{4, 0x9, "/dev/tty9", S_IFCHR|0620},
 	{4, 0xa, "/dev/tty10", S_IFCHR|0620},
 	{4, 0xb, "/dev/tty11", S_IFCHR|0620},
+	{4, 0xc, "/dev/tty12", S_IFCHR|0620},
 	{1, 0x3, "/dev/null", S_IFCHR|0666},
 	{1, 0x5, "/dev/zero", S_IFCHR|0666},
 	{1, 0x7, "/dev/full", S_IFCHR|0666},
-- 
2.5.0



More information about the Devel mailing list