summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pstat/pstat.8
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-02-05 14:21:09 +0000
committered <ed@FreeBSD.org>2009-02-05 14:21:09 +0000
commite085cfc4851a368e9eeca99b5977b66c163ff7ee (patch)
treee926c85860710dfb0757c5d76805dc86e28e6080 /usr.sbin/pstat/pstat.8
parent8f639d4b9ab34b25f907b609cbfdc7610647394f (diff)
downloadFreeBSD-src-e085cfc4851a368e9eeca99b5977b66c163ff7ee.zip
FreeBSD-src-e085cfc4851a368e9eeca99b5977b66c163ff7ee.tar.gz
Don't leave the console TTY constantly open.
When we leave the console TTY constantly open, we never reset the termios attributes. This causes output processing, echoing, etc. not to be reset to the proper values when going into single user mode after the system has booted. It also causes nl-to-crnl-conversion not to take place during shutdown, which causes a `staircase effect'. This patch adds a new TTY flag, TF_OPENED_CONS, which is set when the TTY is opened through /dev/console. Because the flags are only used by the kernel and the pstat(8) utility, I've decided to renumber the TTY flags. This shouldn't be an issue, because the TTY layer is not yet part of a stable release. Reported by: Mark Atkinson <atkin901 yahoo com> Tested by: sepotvin
Diffstat (limited to 'usr.sbin/pstat/pstat.8')
-rw-r--r--usr.sbin/pstat/pstat.82
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/pstat/pstat.8 b/usr.sbin/pstat/pstat.8
index 5474f8b..b92abd8 100644
--- a/usr.sbin/pstat/pstat.8
+++ b/usr.sbin/pstat/pstat.8
@@ -183,6 +183,8 @@ init/lock-state device nodes present
callout device nodes present
.It O
opened
+.It c
+console in use
.It G
gone
.It B
OpenPOWER on IntegriCloud