From owner-freebsd-hackers Sat Jul 3 16:24:23 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from cygnus.rush.net (cygnus.rush.net [209.45.245.133]) by hub.freebsd.org (Postfix) with ESMTP id C011D15277 for ; Sat, 3 Jul 1999 16:24:12 -0700 (PDT) (envelope-from bright@rush.net) Received: from localhost (bright@localhost) by cygnus.rush.net (8.9.3/8.9.3) with SMTP id TAA18732 for ; Sat, 3 Jul 1999 19:29:35 -0400 (EDT) Date: Sat, 3 Jul 1999 18:29:34 -0500 (EST) From: Alfred Perlstein To: hackers@freebsd.org Subject: devices in sysctl MIB? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Just a suggestion, perhaps there should be a dev tree in sysctl with nodes for each device type then device. interesting applications for this: reporting on packets dropped/sent and such displaying connection status (duplex/100mb/10mb... etc) enabling/disabling power saving features dev.iface.fxp0.ipkts = 432523 dev.iface.fxp0.opkts = 432523 dev.iface.fxp0.linkspeed = 100 dev.iface.fxp0.linkmode = full-duplex dev.dsk.da0.tags = 32 .... sysctl -w dev.iface.fxp0.linkmode=half-duplex ? -Alfred Perlstein - [bright@rush.net|bright@wintelcom.net] systems administrator and programmer Win Telecom - http://www.wintelcom.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message