[CFR] rc.conf interface description

Brandon Gooch jamesbrandongooch at gmail.com
Sat Jun 11 17:55:58 UTC 2011


On Jun 11, 2011 11:58 AM, "Sergey Kandaurov" <pluknet at 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]


More information about the freebsd-rc mailing list