Re: Sysfs is too restrictive

From: Stephen Hemminger
Date: Fri Feb 27 2004 - 13:33:53 EST


On Fri, 27 Feb 2004 18:14:55 +0000
Dave Jones <davej@xxxxxxxxxx> wrote:

> On Fri, Feb 27, 2004 at 10:05:41AM -0800, Stephen Hemminger wrote:
> > | |-- bridge
> > | | |-- forward_delay
> > | | |-- hello_time
> > | | |-- id
> > | | |-- max_age
> > | | |-- port
> > | | | |-- cost
> > | | | |-- eth0 -> ../../../eth0
> > | | | |-- priority
> > | | | `-- stp
> > | | `-- priority
> > | |-- broadcast
>
> Shouldn't you be seeing the other side of the bridge in here too ?
> Ie, if br0 is a bridge between eth0 and eth1, how does that fit
> your plan ?

yes, there would be multiple interfaces in the port directory.
More like this:

br0
`-- bridge
|-- forward_delay
|-- id
|-- max_age
|-- port
| |-- eth0
| | |-- cost
| | |-- interface -> ../../../../eth0
| | |-- priority
| | `-- stp
| `-- eth1
| | |-- cost
| | |-- interface -> ../../../../eth1
| | |-- priority
| | `-- stp
`-- priority

4 directories, 8 files

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/