Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 129190

Summary: Addition/changes to the udev guide/manual re: udevtest
Product: [OLD] Docs on www.gentoo.org Reporter: Derk W te Bokkel <derk.tebokkel>
Component: Other documentsAssignee: nm (RETIRED) <nightmorph>
Status: RESOLVED NEEDINFO    
Severity: normal CC: docs-team
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Derk W te Bokkel 2006-04-07 18:10:49 UTC
usage of udevtest appears to have changed with the most recent version of udev-089-r2  

old way:

udevtest /sys/class/net/eth0/


new way: (drops the /sys/)

udevtest /class/net/eth0/



Add a section to the guide on multiple network cards ..
e.g. 

RE:  10-local.rules
## network nic order rules allows locking in ordering of network cards
## an apparent must for quite a few people

KERNEL=="eth*", SYSFS{address}=="00:05:5d:07:8e:1e", NAME="eth0",ACTION=="add",SUBSYSTEM=="net",WAIT_FOR_SYSFS="address"
KERNEL=="eth*", SYSFS{address}=="00:00:00:70:12:98", NAME="eth1",ACTION=="add",SUBSYSTEM=="net",WAIT_FOR_SYSFS="address"
Comment 1 nm (RETIRED) gentoo-dev 2006-04-14 13:00:24 UTC
That version of udev is still very unstable. Remind/reopen once it is stable for all arches.

Thanks for reporting, though; I'll keep an eye on gregkh's updates to udev.
Comment 2 nm (RETIRED) gentoo-dev 2006-04-14 13:15:56 UTC
Got a response back from gregkh, who tested out the command on the latest stable (087), and it works just fine. So, on to updating the guide!
Comment 3 nm (RETIRED) gentoo-dev 2006-04-14 13:29:18 UTC
(In reply to comment #0)
> usage of udevtest appears to have changed with the most recent version of
> udev-089-r2  

Um, so which guide are you looking at? There's nothing in the current udev guide (http://www.gentoo.org/doc/en/udev-guide.xml) on udevtest, unless this is what you think should be added.

Can you be more specific about the kinds of things you'd like to see in the guide, and where? udevtest is awfully straightforward; it's pretty easy to use -- it doesn't seem like something that would need to be included in the udev guide.

Also, the proposed section on network cards seems a little out of place in this more generic udev guide. The guide is not about writing rules; it's about installing and getting udev to work in a general way.
Comment 4 nm (RETIRED) gentoo-dev 2006-04-30 06:57:25 UTC
Setting aside as NEEDINFO; need user feedback before anything can be added to the udevguide.

Feel free to reopen once there are coherent suggestions and ideas. :)