From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Schwarzott Date: Thu, 12 Apr 2007 10:33:12 +0000 Subject: Re: Excluding some device types from persistent-net (xen, s390) Message-Id: <200704121233.12767.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="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org On Donnerstag, 12. April 2007, you wrote: > On 4/12/07, Matthias Schwarzott wrote: > > I have a change to persistent-net behaviour, to exclude xen-devices, and > > s390-devices. > > It's not needed, or does not work for xen and s390? xen creates random macs per default I think. And s390 does create macs on=20 login or similar? Perhaps someone really using a s390 could comment on this. > > > Can that rule be formatted better? > > With the current logic, only one SUBSYSTEMS-key (same for most other > keys) is supported per rule. > (I have a patch pending, that removes the limitation and just creates > a big linear match/action from of the rules, without the limitation on > the count of keys, but that patch is not finished now.) > > > Does that syntax work: SUBSYSTEMS!=3D"xen|ccwgroup" > > I saw the ACTION!=3D"add|change" commit, but does that apply to the > > SUBSYSTEMS list also? > > It should work for all match-keys, yes. > But that means for now I have to use SUBSYSTEMS=3D"xen", GOTO=3D"persistent_net_end" SUBSYSTEMS=3D"ccwgroup", GOTO=3D"persistent_net_end" or does=20 SUBSYSTEMS=3D"xen|ccwgroup", GOTO=3D"persistent_net_end" or ...., SUBSYSTEMS!=3D"xen|ccwgroup", ... work, as this IS just one SUBSYSTEMS per line. Greetings Matthias --=20 Matthias Schwarzott (zzam) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=DEVD= EV _______________________________________________ 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