net: add sysfs entry for device group
authorVlad Dogaru <ddvlad@rosedu.org>
Mon, 24 Jan 2011 03:37:29 +0000 (03:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Jan 2011 07:23:28 +0000 (23:23 -0800)
The group of a network device can be queried or changed from userspace
using sysfs.

For example, considering sysfs mounted in /sys, one can change the group
that interface lo belongs to:
echo 1 > /sys/class/net/lo/group

Signed-off-by: Vlad Dogaru <ddvlad@rosedu.org>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found