From owner-freebsd-stable@FreeBSD.ORG Mon Feb 12 16:22:29 2007 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C5C8316A400; Mon, 12 Feb 2007 16:22:29 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.freebsd.org (Postfix) with ESMTP id 3482213C4B3; Mon, 12 Feb 2007 16:22:28 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (onkdqt@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id l1CGMMqC048701; Mon, 12 Feb 2007 17:22:28 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id l1CGMMNV048700; Mon, 12 Feb 2007 17:22:22 +0100 (CET) (envelope-from olli) Date: Mon, 12 Feb 2007 17:22:22 +0100 (CET) Message-Id: <200702121622.l1CGMMNV048700@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, koitsu@FreeBSD.ORG, kevin@insidesystems.net, brooks@FreeBSD.ORG, joao@matik.com.br In-Reply-To: <20070212153616.GA38483@icarus.home.lan> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.2-20060425 ("Shillay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Mon, 12 Feb 2007 17:22:28 +0100 (CET) Cc: Subject: Re: Desired behaviour of "ifconfig -alias" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG, koitsu@FreeBSD.ORG, kevin@insidesystems.net, brooks@FreeBSD.ORG, joao@matik.com.br List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Feb 2007 16:22:29 -0000 Jeremy Chadwick wrote: > Oliver Fromme wrote: > [...] > > The "-alias" parameter simply removes an address from an > > interface. The term "alias" should really be avoided > > because it is misleading. You can use "delete" or "remove" > > which do the same thing. I think "-alias" should really > > be regarded to exist for backwards compatibility only. > > Personally I always use "delete". > > > > If no IP address is specified, then it's not completely > > nonsensical to remove the first address. In fact I've > > used that short-cut to quickly remove the only address > > from an interface. I've used "ifconfig xyz0 delete" > > quite a lot. > > Great. Okay, so now we have someone who does in fact rely on this > behaviour, except with "delete" not -alias. I just got used to it because it's a convenient shortcut, because you neither have to type nor to copy&paste the IP. > FWIW, I still use alias/-alias. Mainly because that's what has > existed historically, and the term "alias" is what is used in > reference to rc.conf ifconfig_iface_aliasX entries. Maybe it would make sense to remove "alias" from the rc.conf entries and simply number them. > Thus, it may be worthwhile to fix this only for the -alias option, > but leave "delete" and "remove" how they are. I would be happy with that. :) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, USt-Id: DE204219783 Any opinions expressed in this message are personal to the author and may not necessarily reflect the opinions of secnetix GmbH & Co KG in any way. FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "If you think C++ is not overly complicated, just what is a protected abstract virtual base pure virtual private destructor, and when was the last time you needed one?" -- Tom Cargil, C++ Journal