kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Requirement to customize Linux Network Interface naming Convention
Date: Wed, 5 Aug 2015 07:50:30 -0700	[thread overview]
Message-ID: <20150805145030.GA363@kroah.com> (raw)
In-Reply-To: <CAJqwu=_qNF7Uc-0WJ4kBBdmPeGswSLbao-Q6L7LyM8XOKJa+Uw@mail.gmail.com>

On Wed, Aug 05, 2015 at 08:09:59PM +0530, Akash Bhatnagar wrote:
> Hi Greg,
> 
> Thanks for a quick reply, "We" means me and my manager :)
> 
> In our company we provide HTTP based View to? User with naming conventions of
> interfaces in these formats.
> This is done and stored via higher layer applications in Databases and a lower
> application (X) will make interfaces at Linux Level accordingly.

I don't understand what this means, and how it relates to network names.

> Thus, we need to maintain a mapping of names, of what user have given with
> what is created. This mapping is available to only X and not to other Linux
> daemons (like dhcpd etc). Right now, all daemons need some tweaking in order to
> fetch the mappings from X.
> 
> Hence, there comes requirement to store all the mapping somehow inside kernel
> so that every daemon can easily accessible Interface related information via
> ioctls.

Don't use the kernel as a database for something it was not meant to be.
Again, network names should not "mean" anything, I suggest you revisit
your "requirements".

good luck,

greg k-h

      reply	other threads:[~2015-08-05 14:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-05  3:54 Requirement to customize Linux Network Interface naming Convention Akash Bhatnagar
2015-08-05  4:04 ` Greg KH
2015-08-05 14:39   ` Akash Bhatnagar
2015-08-05 14:50     ` Greg KH [this message]

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=20150805145030.GA363@kroah.com \
    --to=greg@kroah.com \
    --cc=kernelnewbies@lists.kernelnewbies.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).