From owner-freebsd-bugs@FreeBSD.ORG Mon Oct 17 21:40:26 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9104916A423 for ; Mon, 17 Oct 2005 21:40:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A1E943D49 for ; Mon, 17 Oct 2005 21:40:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9HLeLD3022144 for ; Mon, 17 Oct 2005 21:40:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9HLeLgJ022143; Mon, 17 Oct 2005 21:40:21 GMT (envelope-from gnats) Date: Mon, 17 Oct 2005 21:40:21 GMT Message-Id: <200510172140.j9HLeLgJ022143@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Brooks Davis Cc: Subject: Re: misc/87574: ifconfig create does not print device name to STDOUT when creation was successfull X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Brooks Davis List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Oct 2005 21:40:26 -0000 The following reply was made to PR kern/87574; it has been noted by GNATS. From: Brooks Davis To: Vladimir Kotal Cc: freebsd-gnats-submit@freebsd.org Subject: Re: misc/87574: ifconfig create does not print device name to STDOUT when creation was successfull Date: Mon, 17 Oct 2005 14:30:03 -0700 The manpage is correct, if perhaps poorly worded. You have to read the sentence before the one you quoted. The key word is arbitrary. ifconfig prints the name of the create interface if and only if it differs from the name given: [2:25pm] brooks@varan (~): uname -v FreeBSD 4.11-STABLE #7: Tue Mar 1 11:47:43 PST 2005 [2:26pm] brooks@varan (~): sudo ifconfig gif create Password: gif0 [2:26pm] brooks@varan (~): sudo ifconfig gif1 create [2:26pm] brooks@varan (~): This is the most useful behavior because if gives you the interface name on stdout (and thus requires you do deal with it) if and only if you didn't already know it. -- Brooks