Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
DragonFly Master Repository (clone)
C C++ Groff Assembly Perl Shell Other

ttys - Add 'ifconsole' option to ttys entries

* Add the 'ifconsole' option.  This allows you to construct a line as shown
  below to enable a getty (e.g. on a serial port) only if the tty is the
  system console.

    ttyd0   "/usr/libexec/getty std.9600"   dialup  on secure ifconsole

  The ifconsole option also silently disables any devices which do not
  exist, removing unnecessary console spam.

* Modify libc and init to handle the new flag.

* Modify the nrelease build and ttys defaults to use this option for
  ttyd0, ttyd1, ttyd2, and ttyd3.

* Avoids previously reported issues with system crashes on certain machines
  whos serial ports are not implemented properly without having to fully
  disable the default ttyd* getty feature.  If the serial port isn't the
  console, it won't be enabled.

* Add a sysctl to the kernel which init needs to test whether a tty is the
  console or not.

Suggested-by: swildner
latest commit fda9d7927d
Matthew Dillon authored
Failed to load latest commit information.
bin ln(1): Sync up with FreeBSD.
contrib Merge branch 'vendor/GCC50'
crypto openssl: In the README.DRAGONFLY, note that the date needs updating too.
doc Remove various pkgsrc remains.
etc ttys - Add 'ifconsole' option to ttys entries
games Clean up some more signal handlers in various places.
gnu gcc50: bump version date to 25 May 2015
include ttys - Add 'ifconsole' option to ttys entries
lib ttys - Add 'ifconsole' option to ttys entries
libexec ttys - Add 'ifconsole' option to ttys entries
nrelease ttys - Add 'ifconsole' option to ttys entries
sbin ttys - Add 'ifconsole' option to ttys entries
secure openssl: Adjust manual pages for 1.0.1m.
share buildworld: Specify cpp for rpcgen to use rather than fallback
sys ttys - Add 'ifconsole' option to ttys entries
test Set gcc50 as the primary compiler, gcc47 as secondary
tools kernel: Move us to using M_NOWAIT and M_WAITOK for mbuf functions.
usr.bin systat.1: Update sensors display specific commands
usr.sbin buildworld: Specify cpp for rpcgen to use rather than fallback
.gitignore .gitignore: Remove build products from list
COPYRIGHT Bump our copyrights to 2015. Happy new year!
Makefile Fix lack of buildworld and quickworld messages
Makefile.inc1 Set gcc50 as the primary compiler, gcc47 as secondary
Makefile_upgrade.inc Remove old timezone file via 'make upgrade'.
README Initial import of binutils 2.22 on the new vendor branch
UPDATING Set gcc50 as the primary compiler, gcc47 as secondary

README

This is the top level of the DragonFly source directory.

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the DragonFly source tree, the most
commonly used being ``buildworld'' and ``installworld'', which rebuild
and install everything in the DragonFly system from the source tree
except the kernel, the kernel-modules and the contents of /etc.  The
``buildkernel'' and ``installkernel'' targets build and install
the kernel and the modules (see below).  Please see the top of
the Makefile in this directory for more information on the
standard build targets and compile-time flags.

Building a kernel is a somewhat involved process.  Documentation
for it can be found at:
   http://www.dragonflybsd.org/docs/handbook/
Also see the build(7) and config(8) man pages.

Note: If you want to build and install the kernel with the
``buildkernel'' and ``installkernel'' targets, you might need to build
world before.  More information is available in the DragonFly handbook.

The sample kernel configuration files reside in the sys/config
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file LINT contains entries for all possible devices, not
just those commonly used, and is meant more as a general reference
than an actual kernel configuration file (a kernel built from it
wouldn't even run).


Source Roadmap:
---------------
bin		System/user commands.

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

etc		Template files for /etc.

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

lib		System libraries.

libexec		System daemons.

nrelease	Framework for building the ``live'' CD image.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

sys		Kernel sources.

test		System tests.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.
Something went wrong with that request. Please try again.