udev-110 ->111 changed behaviour for naming net-devices?

Bryan Kadzban bryan at kadzban.is-a-geek.net
Wed May 23 09:43:12 PDT 2007


On Wed, May 23, 2007 at 01:59:48PM +0200, Jens Stroebel wrote:
> Bryan Kadzban wrote:
> 
> > Hmm.  I figured they'd show up on a different bus, since it is really a
> > different physical bus.  Well, whatever.  I'd still like to know where
> > the device symlink points though.  :-)
> 
> I'm not sure which one... you mean like:
> 
> 
> ls -l /sys/class/net/eth1/device
> =================================
> lrwxrwxrwx 1 root root 0 2007-05-23 10:56 /sys/class/net/eth1/device ->
> ../../../devices/pci0000:00/0000:00:1e.0/0000:03:01.0/0000:04:00.0
> =================================

Yep, that's what I was looking for.

However, I'm not sure there's enough info there for what I wanted.  It
looks like path_id will work fine (though I haven't double-checked it).
But could you also run a couple more tests?  Thanks!

I'd like to see the results of:

grep -H . \
/sys/devices/pci0000\:00/0000\:00\:1e.0/0000:03:01.0/0000:04:00.0/{,subsystem_}{vendor,device}

grep -H . \
/sys/devices/pci0000\:00/0000\:00\:1e.0/0000:03:01.0/{,subsystem_}{vendor,device}

grep -H . \
/sys/devices/pci0000\:00/0000\:00\:1e.0/{,subsystem_}{vendor,device}

That will tell me what device is running at each of those positions.
I'm curious where the PCMCIA bridge is.  (It looks like all of those
devices act like PCI bridges, though.  Hmm...  Well, whatever.)

Thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-dev/attachments/20070523/d174fc3f/attachment.sig>


More information about the lfs-dev mailing list