[LFS Trac] #2057: Udev-122

LFS Trac trac at linuxfromscratch.org
Wed May 21 07:39:13 PDT 2008

#2057: Udev-122
 Reporter:  matthew at linuxfromscratch.org  |        Owner:  lfs-book at linuxfromscratch.org
     Type:  enhancement                   |       Status:  new                          
 Priority:  normal                        |    Milestone:  7.0                          
Component:  Book                          |      Version:  SVN                          
 Severity:  normal                        |   Resolution:                               
 Keywords:                                |  
Comment (by alexander at linuxfromscratch.org):

 On Sarge, the following voodoo created almost-correct rules (i.e. only
 wrong comments):

 # Compensate for the missing "subsystem" symlink
 cp -a /sys /sys-copy
 for a in /sys-copy/class/net/* ; do ln -s ../../../class/net $a/subsystem
 ; done
 for SYS in /sys-copy/class/net/* ; do SYSFS_PATH=/sys-copy DEVPATH=${SYS
 #/sys-copy} ACTION=add SUBSYSTEM=net INTERFACE=${SYS##*/} ./test-udev net
 ; done

 Will retry with a more recent kernel now... However, I don't think that
 abusing an undocumented test tool is a good idea.

Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2057#comment:39>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.

More information about the lfs-book mailing list