Subject: Re: [PATCH 2.6.13-rc1 8/17] bonding: SYSFS INTERFACE (large)

From: "John W. Linville" <[email-masked]>
Date: Thu, 7 Jul 2005 10:25:48 -0400

On Wed, Jul 06, 2005 at 12:52:32PM -0700, Greg KH wrote:
> On Wed, Jul 06, 2005 at 11:53:13AM -0700, Mitch Williams wrote:

> > scheme.  Since it really is an array of similar values, we are hoping that
> > it will be viewed as socially acceptable.
> 
> No.
> 
> How about this:
> 	bond_add - write to this to add a new bond, one value only.
> 	bond_remove - write to this to remove a bond that is present.
> 	bonds/bond0
> 	bonds/bond1
> 	bonds/bond2
> 	...
> 		- list of bonds currently present.  If you want, you
> 		  could make those bondX files directories, and put
> 		  other info about the individual bonds in there, if you
> 		  need it (I know nothing about the bonding intrerface,
> 		  sorry.)
> 
> Would that work?

I like that suggestion.  It keeps the interface creation/deletion a
little more independent of each other.

John
-- 
John W. Linville
[email-masked]