1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/sbin/sysctl
Poul-Henning Kamp d58f005463 Allow setting of variables of type dev_t by indicating the name of
a special file on the command line, eg:
  sysctl kern.dumpdev=/dev/ad1s1b

In parse(), when a value is given for a CTLTYPE_QUAD variable,
newval and newsize erroneously fail to be set because of an early
"break".

show_var() contains code that duplicates the functionality of the
oidfmt() function.

PR:		33151, 33150
Submitted by:	Thomas Quinot <thomas@cuivre.fr.eu.org>
2001-12-30 10:33:34 +00:00
..
Makefile Default to WARNS=2. 2001-12-04 02:19:58 +00:00
pathconf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
sysctl.8 Add code to export and print the description associated to sysctl 2001-12-16 02:55:41 +00:00
sysctl.c Allow setting of variables of type dev_t by indicating the name of 2001-12-30 10:33:34 +00:00