Re: [gentoo-dev] Re: udev coldplugging and /etc/init.d/modules

2006-12-02 Thread Greg KH
On Sat, Dec 02, 2006 at 12:56:59AM +0100, Jan 'RedBully' Seiffert wrote: > OK, then maybe someone knows how to get ALSA-Devices in an persistent > ordering with udev-rules? > I was unable to find it out by my self, the documentation is a little > sparse on this IMHO... Just figure out something un

Re: [gentoo-dev] Re: udev coldplugging and /etc/init.d/modules

2006-12-01 Thread Greg KH
On Fri, Dec 01, 2006 at 09:24:33PM +0100, Sven K?hler wrote: > > As others have said, look at using udev to name your network devices in > > a persistant manner, it's the best solution. > > Yes, i agree. But i have thought about it, and i wonder, if it's going > to work if: > > 1. udev loads the

Re: [gentoo-dev] Re: udev coldplugging and /etc/init.d/modules

2006-12-01 Thread Richard Fish
On 12/1/06, Sven Köhler <[EMAIL PROTECTED]> wrote: Will udev rename the card eth1 to eth0 and the card eth0 to eth1? Yes. For this, I'd recommend running "/lib/udev/write_net_rules all_interfaces" and then edit /etc/udev/rules.d/70-persistent-net.rules to set the names like you want. I'd also

[gentoo-dev] Re: udev coldplugging and /etc/init.d/modules

2006-12-01 Thread Sven Köhler
> As others have said, look at using udev to name your network devices in > a persistant manner, it's the best solution. Yes, i agree. But i have thought about it, and i wonder, if it's going to work if: 1. udev loads the modules which results in a "natural order": saying eth0 and eth1 are used.

Re: [gentoo-dev] Re: udev coldplugging and /etc/init.d/modules

2006-12-01 Thread Jean-François Gagnon Laporte
On 12/1/06, Sven Köhler <[EMAIL PROTECTED]> wrote: >> Unfortunatly, the order of loading of modules defines the ordner of >> the network-interfaces (if you different types of network cards). > > This is what udev's interface renaming capability is for. Define names > for your interfaces according

[gentoo-dev] Re: udev coldplugging and /etc/init.d/modules

2006-12-01 Thread Sven Köhler
>> Unfortunatly, the order of loading of modules defines the ordner of >> the network-interfaces (if you different types of network cards). > > This is what udev's interface renaming capability is for. Define names > for your interfaces according to their MAC address, for example, and > all is goo