From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Schwarzott Date: Sat, 21 Apr 2007 13:35:45 +0000 Subject: Re: Excluding some device types from persistent-net (xen, s390) Message-Id: <200704211535.45824.zzam@gentoo.org> List-Id: References: <200704120944.10520.zzam@gentoo.org> In-Reply-To: <200704120944.10520.zzam@gentoo.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Freitag, 20. April 2007, Cornelia Huck wrote: > On Wed, 18 Apr 2007 23:00:11 +0200, > > Matthias Schwarzott wrote: > > On Montag, 16. April 2007, Cornelia Huck wrote: > > > > That sounds like a good idea. > > We just need some code: > > Some questions for this: > > > > > 1. should write_net_rules detect itself what kind of device - or should > > the rules detect this (they already do) and pass this to write_net_rules? > > This info should already be in SUBSYSTEM and passed on to > write_net_rules, I guess. > > > 2. How to get the unique identifier of that ccwgroup? > > First from a udev-rule and then from write_net_rules? > > Can't this simply be stripped from DEVPATH (last element)? As I do not know how the DEVPATH for such devices look like, some info like udevinfo -a -p /class/net/eth? or file lists in sysfs could help. Matthias -- Matthias Schwarzott (zzam) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel