Thread (1 message) 1 message, 1 author, 2007-12-06

Re: bonding sysfs output

From: Ferenc Wagner <hidden>
Date: 2007-12-06 10:13:54
Also in: lkml

Jean Delvare [off-list ref] writes:
On Mon, 26 Nov 2007 09:29:40 +0100, Wagner Ferenc wrote:
quoted
On the policy side: some files are not applicable to some types of
bonds, and return a single linefeed in that case.  Except for one
single case, which returns 'NA\n'.  The patch changes these cases into
emtpy files.
IMHO a better approach would be to not create the files at all when
they make no sense for a given type of bond.
That would require much more in-depth changes in the sysfs code, I'm
afraid.  But see also the 5th patch in the series, which reponds to
Jay's suggestion.  And as such, goes in the opposite direction.
-- 
Thanks,
Feri.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help