Skip to content

Instantly share code, notes, and snippets.

@kiryl
Created October 23, 2011 23:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kiryl/1308065 to your computer and use it in GitHub Desktop.
Save kiryl/1308065 to your computer and use it in GitHub Desktop.
netdev
From: "Kirill A. Shutemov" <kirill@shutemov.name>
To: netdev@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>,
Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>,
James Morris <jmorris@namei.org>,
Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>,
Patrick McHardy <kaber@trash.net>,
Greg Kroah-Hartman <gregkh@suse.de>,
Kay Sievers <kay.sievers@vrfy.org>,
Alexey Gladkov <gladkov.alexey@gmail.com>
Bcc:
Subject: [RFD] Network configuration data in sysfs
Reply-To:
Hi,
Currently there's no way to set or inspect network configuration (protocol
addresses, routes, etc.) through sysfs. Yes, we have netlink interface for
this, but sysfs has advantage:
- change or inspect network configuration using standard unix utilities
(echo, cat, etc.). It's useful at least in restricted environment where
no special utilities available -- initrd or stripped down busybox.
- transparent udev support. It would be nice to get this information to
udev.
Is there something fundamental preventing us to have sysfs interface for
network configuration?
--
Kirill A. Shutemov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment