History log of /freebsd-current/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_device_tbl.c
Revision Date Author Comments
# b3e76948 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


# cbe9faa5 30-Nov-2021 Warner Losh <imp@FreeBSD.org>

Remove DS_BUSY case

DS_BUSY is no longer a device state. Remove it from here.

Sponsored by: Netflix


# 7e7315b5 28-Oct-2017 Pedro F. Giffuni <pfg@FreeBSD.org>

bsnmpd: Only refresh devtree if devd event is a new or removed device.

It makes sense to refresh the tree only when a device is inserted or
removed, otherwise bsnmpd wastes lot of CPU.

PR: 209368
MFC after: 1 week


# c4648c75 27-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

style(9) fixes

- Clean up trailing whitespace
- Fix variable type alignment in storage_OS_get_swap(..)

MFC after: 3 days


# 3df5ecac 30-Dec-2011 Ulrich Spörlein <uqs@FreeBSD.org>

Spelling fixes for usr.sbin/


# 8f64015c 10-Jul-2011 Andrey V. Elsukov <ae@FreeBSD.org>

Use full buffer size in read(2) call, there is no need to preserve the
last byte of the buffer.

Since we call refresh_device_tbl() for any devctl event types - no need
to check the first byte of buffer. Remove these checks.

Also remove logging for the case of unknown devd message. It incorrectly
triggers when all devctl events are not fit into one buffer and part of
unread data will be read in the next pass.

When length of data readed from devctl is equal to sizeof(buf), then try
to read from socket again, to read full data.

MFC after: 2 weeks


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# 12628101 15-Nov-2009 Attilio Rao <attilio@FreeBSD.org>

Collapse devinfo_state_t with device_state_t in order to avoid a
structure replication and improve manteneability.

Reviewed by: jhb, imp
Tested by: Riccardo Torrini <riccardo at torrini dot org>


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 7b8287fb 09-Mar-2007 Soeren Straarup <xride@FreeBSD.org>

! is a generic info message

Reviewed by: harti
Approved by: harti
MFC after: 2 weeks


# e55adffc 14-Jul-2006 Hartmut Brandt <harti@FreeBSD.org>

Reduce the memory requirements for the tables by (1) using malloced strings
instead of maximum sized arrays embedded in the table structures and (2)
using pointers to constant oids instead of copying the oid into each
table structure. This also fixes indexing in the case when a string used
for indexing is longer than the maximum size allowed in the MIB.

Submitted by: Victor Cruceru <soc-victor@>


# d76947f3 08-Jan-2006 Hartmut Brandt <harti@FreeBSD.org>

msg