>> ifconfig <link> plumb >> dladm init-linkprop <link> >> >> We propose that this happens automatically each time a link is plumbed. > > How do I, as an admin, plumb an interface with no configuration for > diagnostic purposes? > > It should also be noted that it is common practice in fora such as IRC > to tell users to "ifconfig -a plumb" as a somewhat harmless way to > divine what interfaces they have. Is this now potentially unsafe?
I think it is neither safer or unsafer. Functionally this is similar to today's driver.conf properties: say, you have jumbo frames enabled in bge.conf and you want to plumb bge0 without jumbo frames, what do you do? Same with setting "mtu" with dladm set-linkprop. Temporarily remove unwanted configuration bits and later restore them. Properties can be both pushed and pulled, and while you could theoretically ask userland not to push certain properties into the drivers, forbidding drivers to actively retrieve properties when they need them might be too tricky. -Artem
