All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20091106220509.GA15533@mock.linuxdev.us.dell.com>

diff --git a/a/1.txt b/N1/1.txt
index d1d85e8..68ff93f 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -4,8 +4,8 @@ On Wed, Nov 04, 2009 at 08:23:38AM -0600, K, Narendra wrote:
 > would show "Embedded_NIC_1[23..]" and this can be used by udev in
 > 70-persistent-net.rules as 
 > 
-> SUBSYSTEM="net", ACTION="add", DRIVERS="?*",
-> ATTR{smbios_name}="Embedded_NIC_1", ATTR{type}="1", KERNEL="eth*",
+> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
+> ATTR{smbios_name}=="Embedded_NIC_1", ATTR{type}=="1", KERNEL=="eth*",
 > NAME="eth0".
 > 
 > I suppose this would not need any changes to the udev code and existing
@@ -24,10 +24,10 @@ parallel and racing, we get collisions.  Take for example, this which
 tries to rename the 4 onboard NICs in a particular order, in the
 absence of any other rules:
 
-PROGRAM="/sbin/biosdevname --policy=smbios_names -i %k", RESULT="Embedded NIC 1", NAME="eth0"
-PROGRAM="/sbin/biosdevname --policy=smbios_names -i %k", RESULT="Embedded NIC 2", NAME="eth1"
-PROGRAM="/sbin/biosdevname --policy=smbios_names -i %k", RESULT="Embedded NIC 3", NAME="eth2"
-PROGRAM="/sbin/biosdevname --policy=smbios_names -i %k", RESULT="Embedded NIC 4", NAME="eth3"
+PROGRAM="/sbin/biosdevname --policy=smbios_names -i %k", RESULT=="Embedded NIC 1", NAME="eth0"
+PROGRAM="/sbin/biosdevname --policy=smbios_names -i %k", RESULT=="Embedded NIC 2", NAME="eth1"
+PROGRAM="/sbin/biosdevname --policy=smbios_names -i %k", RESULT=="Embedded NIC 3", NAME="eth2"
+PROGRAM="/sbin/biosdevname --policy=smbios_names -i %k", RESULT=="Embedded NIC 4", NAME="eth3"
 
 I wind up with instead this in ifconfig -a:
 
diff --git a/a/content_digest b/N1/content_digest
index 497ecd4..2c1a160 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -10,7 +10,7 @@
  "ref\0EDA0A4495861324DA2618B4C45DCB3EE5896D2@blrx3m08.blr.amer.dell.com\0"
  "From\0Domsch, Matt <Matt_Domsch@dell.com>\0"
  "Subject\0Re: PATCH: Network Device Naming mechanism and policy\0"
- "Date\0Fri, 06 Nov 2009 22:05:09 +0000\0"
+ "Date\0Fri, 6 Nov 2009 16:05:09 -0600\0"
  "To\0K"
  " Narendra <Narendra_K@dell.com>\0"
  "Cc\0Bryan Kadzban <bryan@kadzban.is-a-geek.net>"
@@ -32,8 +32,8 @@
  "> would show \"Embedded_NIC_1[23..]\" and this can be used by udev in\n"
  "> 70-persistent-net.rules as \n"
  "> \n"
- "> SUBSYSTEM=\"net\", ACTION=\"add\", DRIVERS=\"?*\",\n"
- "> ATTR{smbios_name}=\"Embedded_NIC_1\", ATTR{type}=\"1\", KERNEL=\"eth*\",\n"
+ "> SUBSYSTEM==\"net\", ACTION==\"add\", DRIVERS==\"?*\",\n"
+ "> ATTR{smbios_name}==\"Embedded_NIC_1\", ATTR{type}==\"1\", KERNEL==\"eth*\",\n"
  "> NAME=\"eth0\".\n"
  "> \n"
  "> I suppose this would not need any changes to the udev code and existing\n"
@@ -52,10 +52,10 @@
  "tries to rename the 4 onboard NICs in a particular order, in the\n"
  "absence of any other rules:\n"
  "\n"
- "PROGRAM=\"/sbin/biosdevname --policy=smbios_names -i %k\", RESULT=\"Embedded NIC 1\", NAME=\"eth0\"\n"
- "PROGRAM=\"/sbin/biosdevname --policy=smbios_names -i %k\", RESULT=\"Embedded NIC 2\", NAME=\"eth1\"\n"
- "PROGRAM=\"/sbin/biosdevname --policy=smbios_names -i %k\", RESULT=\"Embedded NIC 3\", NAME=\"eth2\"\n"
- "PROGRAM=\"/sbin/biosdevname --policy=smbios_names -i %k\", RESULT=\"Embedded NIC 4\", NAME=\"eth3\"\n"
+ "PROGRAM=\"/sbin/biosdevname --policy=smbios_names -i %k\", RESULT==\"Embedded NIC 1\", NAME=\"eth0\"\n"
+ "PROGRAM=\"/sbin/biosdevname --policy=smbios_names -i %k\", RESULT==\"Embedded NIC 2\", NAME=\"eth1\"\n"
+ "PROGRAM=\"/sbin/biosdevname --policy=smbios_names -i %k\", RESULT==\"Embedded NIC 3\", NAME=\"eth2\"\n"
+ "PROGRAM=\"/sbin/biosdevname --policy=smbios_names -i %k\", RESULT==\"Embedded NIC 4\", NAME=\"eth3\"\n"
  "\n"
  "I wind up with instead this in ifconfig -a:\n"
  "\n"
@@ -85,4 +85,4 @@
  "Technology Strategist, Dell Office of the CTO\n"
  linux.dell.com & www.dell.com/linux
 
-82ea5d0339ece923c66b8da51be256980ab2d4a838d6572b284df11d62de3daa
+c6ba9338d4821b36661bd52d4eb4d241c860f25a153ad862669ba007f4488745

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.