History log of /freebsd/sbin/sysctl/sysctl.c (Results 201 – 225 of 312)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 59fe2c14 02-Aug-1997 Bruce Evans <bde@FreeBSD.org>

Import Lite2's src/usr.sbin, except for timed. All changed files
except one unimportant one have already left the vendor branch.


# 0fad62ae 24-Jun-1997 John Hay <jhay@FreeBSD.org>

Display tickadj in struct clockinfo.


Revision tags: release/2.2.2_cvs
# 6c3f552a 31-Mar-1997 Warner Losh <imp@FreeBSD.org>

compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.


Revision tags: release/2.2.1_cvs, release/2.2.0, release/2.1.7_cvs
# 476602a9 22-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$


Revision tags: release/2.1.6_cvs, release/2.1.6.1
# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.

show more ...


Revision tags: release/2.1.5_cvs
# 019d9330 10-Apr-1996 Sujal Patel <smpatel@FreeBSD.org>

Fix a core dump when the user gives "-w" without an "="


Revision tags: release/2.1.0_cvs
# 1d86b91c 21-Dec-1995 Poul-Henning Kamp <phk@FreeBSD.org>

The rewamped sysctl program that will find all the variables itself.
Also a couple of handy new options.


# 07f16e53 17-Nov-1995 Poul-Henning Kamp <phk@FreeBSD.org>

Make sysctl compile again by removing all the debug stuff.


# d3628763 11-Jun-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

Merge RELENG_2_0_5 into HEAD


Revision tags: release/2.0.5_cvs
# 709e8f9a 30-May-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

Remove trailing whitespace.


# 55678a2e 12-May-1995 Garrett Wollman <wollman@FreeBSD.org>

Learn how to print out kern.dumpdev as a name.


# 9426bb7c 16-Feb-1995 Garrett Wollman <wollman@FreeBSD.org>

Allow the user access to net.inet.igmp, even though there's nothing
sysctl(8) can interpret there. (Someday there might be.)


# 35c13fa0 10-Feb-1995 Garrett Wollman <wollman@FreeBSD.org>

Implement TCP MIB variables.


Revision tags: release/2.0
# ebe06549 08-Aug-1994 Garrett Wollman <wollman@FreeBSD.org>

Suppress irritating extra newline after kern.boottime.


Revision tags: release/1.1.5.1_cvs
# dea673e9 26-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite usr.sbin Sources


Revision tags: release/7.3.0_cvs, release/7.3.0
# f2359a24 13-Mar-2010 Rebecca Cran <brucec@FreeBSD.org>

Free the memory allocated via strdup.

PR: bin/113881
Submitted by: Alexander Drozdov dzal_mail mtu-net.ru
Approved by: rrs (mentor)
MFC after: 1 week


# 6d7a8f6c 15-Feb-2010 Ulrich Spörlein <uqs@FreeBSD.org>

sysctl(8): make WARNS=3 clean

Fixes inspired by work done in DragonflyBSD.

PR: bin/140016
Approved by: ed (Co-mentor)


# aea5fda5 09-Feb-2010 Gavin Atkinson <gavin@FreeBSD.org>

Add -i to usage()

Noticed by: ru
MFC after: 5 days


# 24b2aa32 31-Jan-2010 Gavin Atkinson <gavin@FreeBSD.org>

Implement the "-i" option to sysctl(8), to ignore failures while
retrieving individual OIDs. This allows the same list of OIDs to be
passed to sysctl(8) across different systems where particular OID

Implement the "-i" option to sysctl(8), to ignore failures while
retrieving individual OIDs. This allows the same list of OIDs to be
passed to sysctl(8) across different systems where particular OIDs may not
exist, and still get as much information as possible from them.

PR: bin/123644
Submitted by: dhw
Approved by: ed (mentor)
MFC after: 2 weeks

show more ...


Revision tags: release/8.0.0_cvs, release/8.0.0
# 874108ae 12-Nov-2009 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

MFC @199204


# 8f1c21a6 03-Nov-2009 Ed Schouten <ed@FreeBSD.org>

Just use devname(3) to print device names.

Right now sysctl just prints the major/minor numbers of a device.
Instead of rolling our own routine for this, we'd better just call
devname(3) to perform

Just use devname(3) to print device names.

Right now sysctl just prints the major/minor numbers of a device.
Instead of rolling our own routine for this, we'd better just call
devname(3) to perform a translation to a device name for us.

show more ...


# a7b5ad27 21-Oct-2009 Ed Schouten <ed@FreeBSD.org>

Make input parsing in Farhenheit actually work.

Don't clobber *p with '\0' when testing whether it has the value of 'F'.
Just use the semantics of strtof() properly. If it returns p, we know
that it

Make input parsing in Farhenheit actually work.

Don't clobber *p with '\0' when testing whether it has the value of 'F'.
Just use the semantics of strtof() properly. If it returns p, we know
that it parsed the string until it reached 'C' or 'F'.

The code has not changed since it has been imported (r161951, Sep 3,
2006).

Submitted by: Alexandre Perrin <kaworu@kaworu.ch>
MFC after: 1 week

show more ...


# 09c817ba 03-Jul-2009 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

- MFC


# db87e2dc 23-Jun-2009 John Hay <jhay@FreeBSD.org>

time_t does not always fit into long, for instance on arm. So rather cast
it intmax_t and use %j in printf.


Revision tags: release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0
# d9fcd86c 24-Jun-2008 Mike Makonnen <mtm@FreeBSD.org>

The sysctl(8) program exits on some errors and only emits warnings on
others. In the case where it displayed warnings it would still return
succesfully. Modify it so that it returns the number of sys

The sysctl(8) program exits on some errors and only emits warnings on
others. In the case where it displayed warnings it would still return
succesfully. Modify it so that it returns the number of sysctls that
it was not able to set.

Make use of this in rc.d to display only *unsuccessfull* attempts to
set sysctls.

show more ...


12345678910>>...13