ref: 0089c44663e00e899375dd386f5c760eec0745a6
parent: 827b20563b1448306dc9cfd7afdef6fd0e32ad35
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Fri Sep 16 22:35:03 EDT 2011
devcons: readd dummy consctl file so telnetd has something to bind on
--- a/sys/src/9/port/devcons.c
+++ b/sys/src/9/port/devcons.c
@@ -321,6 +321,7 @@
Qdir,
Qbintime,
Qcons,
+ Qconsctl,
Qcputime,
Qdrivers,
Qkmesg,
@@ -353,6 +354,7 @@
".", {Qdir, 0, QTDIR}, 0, DMDIR|0555,
"bintime", {Qbintime}, 24, 0664,
"cons", {Qcons}, 0, 0660,
+ "consctl", {Qconsctl}, 0, 0220,
"cputime", {Qcputime}, 6*NUMSIZE, 0444,
"drivers", {Qdrivers}, 0, 0444,
"hostdomain", {Qhostdomain}, DOMLEN, 0664,
@@ -695,6 +697,9 @@
l -= bp;
}
break;
+
+ case Qconsctl:
+ error(Egreg);
case Qtime:
if(!iseve())