* Tobias Weingartner <weing...@tepid.org> [2011-02-04 20:19]: > On Friday, February 4, Henning Brauer wrote: > > i don't think there is is special treatment for the carp group. but > > memory is fuzzy. we might very well "forget" to clean up when a group > > becomes empty. > There is a bit of an inconsistency when it comes to > 'ifconfig foo' style of the ifconfig command. You > can do 'ifconfig groupname', and it will show all > interfaces in group "groupname". You can also do > 'ifconfig dev-prefix', which seems to show all the > interfaces with the particular device prefix.
the latter is really a backwards compat thing. that was already there before i wrote ifgroups, kinda... it might be time to fling off these restraints. > For example, on my box, if I do 'ifconfig bge', it > will show me all bge* interfaces, even if none of > them are in a group called 'bge'. So the shutdown > could be correct using 'ifconfig carp', if that > command would return all carp interfaces because > "carp" is the dev-prefix. However, since we have > a "carp" group, it uses that instead... yes, i dislike that. we decided against an automatic group for non-cloners. i do remember discussions about it, i think i had those initially. i can't really remember the reasoning for dropping these, but i have to admit i see little use in them. which probably was the reason. -- Henning Brauer, h...@bsws.de, henn...@openbsd.org BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting