svn commit: r262957 - in head/etc: etc.arm etc.ia64 etc.mips etc.powerpc etc.sparc64

Marcel Moolenaar marcel at
Sun May 4 23:42:06 UTC 2014

On Apr 29, 2014, at 10:44 PM, Nathan Whitehorn <nwhitehorn at> wrote:

> On 03/09/14 14:06, Marcel Moolenaar wrote:
>> Author: marcel
>> Date: Sun Mar  9 21:06:22 2014
>> New Revision: 262957
>> URL:
>> Log:
>>   Change the terminal type/class for enabled serial lines to 3wire. This
>>   allows us to change the uart(4) driver to not hardcode specific line
>>   settings for the serial console.
>>      A terminal type of 3wire makes sure the console still works when no DCD
>>   signal is present, which preserves behviour. When it is known that the
>>   terminal server (or DCE in general) provides DCD, a terminal type/class
>>   of std can be used. This has the effect of being logged out when one
>>   disconnects from the console -- improving security overall.
>>      Likewise, when uart(4) does not fixate the baudrate, one can change
>>   the terminal type/class to set a specific baudrate. An operator can use
>>   this to change the console speed mid-flight, without needing a reboot.
>>   Of course it helps in this respect if and when the firmware can be
>>   configured from the OS.
>>      The above mentioned capabilities depend on uart(4) being changed, which
>>   is to happen next.
> Should we set onifconsole for x86 UARTs as well? That enables them if they are the kernel console and is probably a user friendliness improvement.

Sorry for the delay...

I think that's a very good idea. I wasn't even aware of this
flag. We could mark all ttyu# lines as onifconsole by default
across all architectures and if that unifies the contents of
the /etc/ttys file, revert back to a single one...

Marcel Moolenaar
marcel at

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <>

More information about the svn-src-head mailing list