From nobody@FreeBSD.ORG Sat Nov 20 18:26:40 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id C6B061576E; Sat, 20 Nov 1999 18:26:39 -0800 (PST)
Message-Id: <19991121022639.C6B061576E@hub.freebsd.org>
Date: Sat, 20 Nov 1999 18:26:39 -0800 (PST)
From: adsharma@sharmas.dhs.org
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: sysctl -d doesn't work as documented
X-Send-Pr-Version: www-1.0

>Number:         15012
>Category:       bin
>Synopsis:       sysctl -d doesn't work as documented
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 20 18:30:01 PST 1999
>Closed-Date:    Mon Nov 22 00:42:26 PST 1999
>Last-Modified:  Mon Nov 22 00:45:16 PST 1999
>Originator:     Arun Sharma
>Release:        4.0-current
>Organization:
myself
>Environment:
FreeBSD astra.sharmas.org 4.0-CURRENT FreeBSD 4.0-CURRENT #9: Tue Oct 19 23:34:26 PDT 1999     adsharma@astra.sharmas.org:/usr/home/adsharma/kernels/freebsd-sys/compile/astra  i386
>Description:
# sysctl -d kern.ostype
sysctl: sysctl name -1 1024 2: No such file or directory  
>How-To-Repeat:
# sysctl -d kern.ostype
>Fix:
Looks like the 'descr' field is being ignored in the kernel.
Either it should not be ignored or the -d flags should be
deleted from the sysctl man page.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: des 
State-Changed-When: Mon Nov 22 00:42:26 PST 1999 
State-Changed-Why:  
Fixed in -CURRENT and -STABLE, thanks. 
>Unformatted:
