[Top] [All Lists]

Re: RFC: Redirect-Device

To: Stephen Hemminger <shemminger@xxxxxxxx>
Subject: Re: RFC: Redirect-Device
From: Ben Greear <greearb@xxxxxxxxxxxxxxx>
Date: Thu, 31 Mar 2005 14:26:49 -0800
Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <20050331140525.04f9a2b1@xxxxxxxxxxxxxxxxx>
Organization: Candela Technologies
References: <424C6089.1080507@xxxxxxxxxxxxxxx> <20050331130512.7e4b8bc0@xxxxxxxxxxxxxxxxx> <424C6F82.7030609@xxxxxxxxxxxxxxx> <20050331135229.432afff3.davem@xxxxxxxxxxxxx> <20050331140525.04f9a2b1@xxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.3) Gecko/20041020
Stephen Hemminger wrote:

Other possiblity is adding additional attributes onto the device with sysfs.
That is what net/bridge/br_sysfs_if.c does. I'm not claiming it is a pretty
kernel programming model, but the user side API is simpler.

I prefer to stay away from sysfs.  procfs may have it's faults, but at
least in this case, it is quite straight-forward and easily does what
I need.  And procfs is less encumbered by flame wars :)

Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc

<Prev in Thread] Current Thread [Next in Thread>