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>
Subject: [RFD] Network configuration data in sysfs
Date: Mon, 24 Oct 2011 02:35:58 +0300 [thread overview]
Message-ID: <20111023233558.GA23264@shutemov.name> (raw)
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
next reply other threads:[~2011-10-23 23:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-23 23:35 Kirill A. Shutemov [this message]
2011-10-24 0:49 ` [RFD] Network configuration data in sysfs David Miller
2011-10-24 1:34 ` Kirill A. Shutemov
2011-10-24 3:24 ` David Miller
2011-10-24 4:24 ` Kirill A. Shutemov
2011-10-24 4:59 ` David Miller
2011-10-24 12:46 ` Kay Sievers
2011-10-24 23:54 ` Alexey Gladkov
2011-10-25 7:57 ` Kay Sievers
2011-10-24 20:17 ` Stephen Hemminger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111023233558.GA23264@shutemov.name \
--to=kirill@shutemov.name \
--cc=davem@davemloft.net \
--cc=gladkov.alexey@gmail.com \
--cc=gregkh@suse.de \
--cc=jmorris@namei.org \
--cc=kaber@trash.net \
--cc=kay.sievers@vrfy.org \
--cc=kuznet@ms2.inr.ac.ru \
--cc=netdev@vger.kernel.org \
--cc=yoshfuji@linux-ipv6.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).