Cc: Luis R. Rodriguez <mcgrof@...>, linux-wireless <linux-wireless@...>, linux kernel <linux-kernel@...>, Greg KH <greg@...>, Joel Becker <joel.becker@...>, Satyam Sharma <ssatyam@...>, Felix Fietkau <nbd@...>, Al Viro <viro@...>, H. Peter Anvin <hpa@...>
On Tue, 2008-06-10 at 10:01 +0200, Johannes Berg wrote:
Ah right. Netlink is indeed a nice interface for this kind of network
device configuration, I'd probably use that for this task too.
Of course, it isn't a general solution to the problem. If I were
answering the question in $(SUBJECT) I'd say configfs is a good choice.
In the specific case of network devices, you're lucky enough to have
something more specifically tailored to your needs already.
Yeah, personal preference here. I come from an embedded background and
have an aversion to tracking more userspace tools than I have to. This
mainly comes from the fact uClibc (an embedded C library) doesn't
maintain binary compatibility across releases; each time a bugfix comes
out for that my entire userspace needs to be recompiled. Each userspace
tool I add to my build scripts makes me die a little inside ;-)
--Ben.
--