Date: Sat, 11 Jun 2011 12:28:31 -0500 From: Brandon Gooch <jamesbrandongooch@gmail.com> To: Sergey Kandaurov <pluknet@gmail.com> Cc: Doug Barton <dougb@freebsd.org>, freebsd-rc@freebsd.org, "Alexander V. Chernikov" <melifaro@ipfw.ru> Subject: Re: [CFR] rc.conf interface description Message-ID: <BANLkTimgGLefssQMOHHZEwpXJ4ZCKo=utg@mail.gmail.com> In-Reply-To: <BANLkTikfoQtgVv2Vnkg6Fn4kq68qjqpWRw@mail.gmail.com> References: <BANLkTikfoQtgVv2Vnkg6Fn4kq68qjqpWRw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 11, 2011 11:58 AM, "Sergey Kandaurov" <pluknet@gmail.com> wrote: > > Hello. > > Some time ago there was a discussion about ifconfig descr integration > into rc. That means you can store interface descriptions in rc.conf file, > so that the descriptions survive between system reboots. To achieve it, > you need to place one-line option into rc.conf, e.g. like this: > ifconfig_em0_descr="Uplink to Gigabit Switch 1", or > ifconfig_vlan8_descr="description '1 2 3' vlan 255 vlandev IFACE" > > so after reboot or manual `rc.d/netif restart $iface` invocation, you''ll see > something like this: > vlan8: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 > description: description '1 2 3' vlan 255 vlandev IFACE > [...] > And rc.d/netif stop $iface removes description from a network interface. > > You can see the previous discussion in -current@ and -rc@ mail archives: > http://www.mail-archive.com/freebsd-current@freebsd.org/msg124513.html > However, that time it went nowhere due to luck of time/interest. > > Recently I learned that this patch is actually used. > I was requested to integrate it into the head. > I'd like to collect your opinions/objections/thoughts to ensure whether > there are might be issues preventing from committing it. > I would like to have this, so +1 from me. [SNIP]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTimgGLefssQMOHHZEwpXJ4ZCKo=utg>