Re: [RFC] vlan: add sysfs support

Stephen Hemminger <[email protected]>
Newsgroups gmane.linux.drivers.vlan
Organization OSDL
Message-ID <20060501152637.012fc67b__44641.278909012$1146522555$gmane$org@localhost.localdomain>
On Mon, 01 May 2006 15:07:14 -0700
Ben Greear <[email protected]> wrote:

> Stephen Hemminger wrote:
> > Add basic sysfs support for vlan device. It creates an entry in the
> > vlan pseudo-device to display tag.  
> > 	/sys/class/net/eth0.5/vlan_id
> 
> Looks fine to me, though I don't know enough about sysfs to notice
> any bugs with it...
> 
> I do have a question:  Will this work for > 256 vlans?
> 
> /proc had a limit of around 256 directories last I
> checked, so just curious.
> 
> Thanks,
> Ben
> 

There should be no limits caused by sysfs...
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.