#2057: Udev-122
------------------------------------------+---------------------------------
 Reporter:  [EMAIL PROTECTED]  |        Owner:  [email protected]
     Type:  enhancement                   |       Status:  new                  
        
 Priority:  normal                        |    Milestone:  7.0                  
        
Component:  Book                          |      Version:  SVN                  
        
 Severity:  normal                        |   Resolution:                       
        
 Keywords:                                |  
------------------------------------------+---------------------------------
Comment (by Bryan Kadzban):

 Replying to [comment:46 [EMAIL PROTECTED]:
 > With 2.6.18, the following works:
 >
 {{{
 for SYS in /sys/class/net/* ; do \
     INTERFACE=${SYS##*/} udevadm test --action=add --subsystem=net $SYS ;
 \
 done
 }}}

 Since you're providing --subsystem on the udevadm command line, might this
 work with kernels that don't provide the subsystem symlink on their own
 (i.e. older than 2.6.18)?  It would be nice if it did (if you still have
 any of those kernels around to test).  :-)

 Although even if it does work on older kernels now, future changes to udev
 might break it, too.  Hmm.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2057#comment:47>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to