2010/3/30 Marco d'Itri <m...@linux.it>: > On Mar 24, Dmitriy Novikov <dimetr...@gmail.com> wrote: > >> cat /etc/udev/rules.d/70-persistent-net.rules |grep SUB >> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", >> ATTR={address}=="00:1b:21:55:a7:f0", ATTR{dev_id}=="0x0", >> ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" > So are new rules created or not? Where does this one come from?
This rule I created manually. >> #udevadm test --action=add /sys/class/net/eth0 >> >> ...skip... >> udev_device_new_from_syspath: device 0x851ce40 has devpath '/class/net/eth0' >> udev_device_new_from_syspath: device 0x851cfc8 has devpath '/class/net' >> udev_rules_apply_to_event: RUN 'net.agent' >> /lib/udev/rules.d/80-drivers.rules:40 > You elided the part which is actually interesting. > > Please also show the content of /lib/udev/rules.d/. ls -la rules.d/ итого 132 drwxr-xr-x 2 root root 4096 2010-03-24 10:45 . drwxr-xr-x 5 root root 4096 2010-03-24 10:50 .. -rw-r--r-- 1 root root 4159 2010-03-15 03:42 50-udev-default.rules -rw-r--r-- 1 root root 583 2009-09-25 11:54 60-gnupg.rules -rw-r--r-- 1 root root 676 2010-03-15 03:42 60-persistent-alsa.rules -rw-r--r-- 1 root root 2009 2010-03-15 03:42 60-persistent-input.rules -rw-r--r-- 1 root root 893 2010-03-15 03:42 60-persistent-serial.rules -rw-r--r-- 1 root root 5672 2010-03-15 03:42 60-persistent-storage.rules -rw-r--r-- 1 root root 1492 2010-03-15 03:42 60-persistent-storage-tape.rules -rw-r--r-- 1 root root 789 2010-03-15 03:42 60-persistent-v4l.rules -rw-r--r-- 1 root root 610 2010-03-15 03:42 61-mobile-action.rules -rw-r--r-- 1 root root 4267 2010-03-15 03:42 61-option-modem-modeswitch.rules -rw-r--r-- 1 root root 2684 2010-03-15 03:42 70-acl.rules -rw-r--r-- 1 root root 1360 2010-03-15 03:42 70-hid2hci.rules -rw-r--r-- 1 root root 452 2010-03-15 03:42 75-cd-aliases-generator.rules -rw-r--r-- 1 root root 658 2010-03-15 03:42 75-net-description.rules -rw-r--r-- 1 root root 4427 2010-03-15 03:42 75-persistent-net-generator.rules -rw-r--r-- 1 root root 658 2010-03-15 03:42 75-tty-description.rules -rw-r--r-- 1 root root 4905 2010-03-15 03:42 78-sound-card.rules -rw-r--r-- 1 root root 137 2010-03-15 03:42 79-fstab_import.rules -rw-r--r-- 1 root root 1623 2010-03-15 03:42 80-drivers.rules -rw-r--r-- 1 root root 171 2009-12-07 06:26 85-hwclock.rules -rw-r--r-- 1 root root 4216 2010-03-15 03:42 91-permissions.rules -rw-r--r-- 1 root root 1018 2010-03-15 03:42 95-keyboard-force-release.rules -rw-r--r-- 1 root root 7938 2010-03-15 03:42 95-keymap.rules -rw-r--r-- 1 root root 155 2010-03-15 03:42 95-udev-late.rules > -- > ciao, > Marco > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > > iEYEARECAAYFAkuyNrEACgkQFGfw2OHuP7F9IwCeIM4lHZlTxXQB4cpJf5OsI5NZ > TvUAn2Y8K4Rv01dh89y8E9zoqubIng+G > =f8mT > -----END PGP SIGNATURE----- > > -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org