On Tue, 01 Mar 2005 08:27:52 -0700, Kevin P. Fleming <[EMAIL PROTECTED]> wrote: > Gerard Beekmans wrote: > > > It wasn't perfect no. It was one of those cases of "I have 5 minutes to get > > it > > done, need to hack existing script to add vlan capabilities." > > Been there, done that :-) > > > Your method would do the trick too yes, as long as ifconfig.eth0 gets run > > before ifconfig.eth0.{10,20}. It seems that is the case seeing how things > > sort alphabetically. Then you get the link up on eth0 first, then on > > eth0.10. > > Exactly. Actually in my case, there are three steps: create an 802.1q > Ethernet bonded device first, then create VLAN interfaces on top of > that, then assign addresses. > > > Now a hypothetical situation: what if things didn't order alphabetically > > that > > way for some reason? There's no dependency information here so things could > > be fragile in other situations and possible be run in the wrong order. > > The bootscripts are documented to run these files/directories always in > shell sort order, so you can rely on that forever. Any future changes to > the scripts will have to preserve backwards compatibility.
I was wondering if that "Is the link up command" could be modified... I mean it sounds like we could create new networking devices on the fly, or have networking devices that are only up after special commands are done. Our current scripts would choke on that. -- Nathan Coulson (conathan) ------ nathan at linuxfromscratch org conathan at gmail com -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page