misc/87574: ifconfig create does not print device name to
STDOUT when creation was successfull
Brooks Davis
brooks at one-eyed-alien.net
Mon Oct 17 14:40:26 PDT 2005
The following reply was made to PR kern/87574; it has been noted by GNATS.
From: Brooks Davis <brooks at one-eyed-alien.net>
To: Vladimir Kotal <vlada at devnull.cz>
Cc: freebsd-gnats-submit at 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 at varan (~): uname -v
FreeBSD 4.11-STABLE #7: Tue Mar 1 11:47:43 PST 2005
[2:26pm] brooks at varan (~): sudo ifconfig gif create
Password:
gif0
[2:26pm] brooks at varan (~): sudo ifconfig gif1 create
[2:26pm] brooks at 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
More information about the freebsd-bugs
mailing list