Date: Mon, 17 Oct 2005 21:40:21 GMT From: Brooks Davis <brooks@one-eyed-alien.net> To: freebsd-bugs@FreeBSD.org Subject: Re: misc/87574: ifconfig create does not print device name to STDOUT when creation was successfull Message-ID: <200510172140.j9HLeLgJ022143@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/87574; it has been noted by GNATS. From: Brooks Davis <brooks@one-eyed-alien.net> To: Vladimir Kotal <vlada@devnull.cz> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510172140.j9HLeLgJ022143>