Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Oct 2005 15:29:09 GMT
From:      Vladimir Kotal <vlada@devnull.cz>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/87574: ifconfig create does not print device name to STDOUT when creation was successfull
Message-ID:  <200510171529.j9HFT9Ae028637@www.freebsd.org>
Resent-Message-ID: <200510171530.j9HFUBpT067127@freefall.freebsd.org>

index | next in thread | raw e-mail


>Number:         87574
>Category:       misc
>Synopsis:       ifconfig create does not print device name to STDOUT when creation was successfull
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 17 15:30:11 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Vladimir Kotal
>Release:        4.11-RELEASE
>Organization:
>Environment:
FreeBSD  4.11-RELEASE FreeBSD 4.11-RELEASE #0: Fri Jan 21 17:21:22 GMT 2005     root@perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
in ifconfig(8) man page it is stated that 

'If creation of an arbitrary device is successful, the new device name is printed to standard output.'

This does not correspond with actual behavior of ifconfig:

root@# ifconfig gif4 create
root@# ifconfig gif4
gif4: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
root@# 
>How-To-Repeat:
Try to create gif (and maybe other clone-ized) interface on FreeBSD 4.x and watch for successfull creation of the device followed by its name printed out to stdout.
>Fix:
either fix the man page or apply following patch:
http://techie.devnull.cz/public/patches/ifconfig.c-create.patch
>Release-Note:
>Audit-Trail:
>Unformatted:


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510171529.j9HFT9Ae028637>