All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: [PATCH] netdev - udevdb+dev.d changes
Date: Wed, 31 Mar 2004 23:40:26 +0000	[thread overview]
Message-ID: <20040331234026.GA13247@vrfy.org> (raw)
In-Reply-To: <20040328184840.GA5877@vrfy.org>

On Wed, Mar 31, 2004 at 03:14:10PM -0800, Greg KH wrote:
> On Sun, Mar 28, 2004 at 08:48:40PM +0200, Kay Sievers wrote:
> >  o the DEVPATH value is the key for udevdb, but if we rename
> >    a netdev, the name is replaced in the kernel, so we add
> >    the changed name to the db to match with the remove event.
> >    
> >    NOTE: The dev.d/ scripts still get the original name from the
> >    hotplug call. Should we replace DEVPATH with the new name too?
> 
> Yeah, we should.

Ok, I will prepare a patch, now.

> >  o We now only add a device to the db, if we have successfully created
> >    the main node or successfully renamed a netdev. This is the main part
> >    of the patch, cause I needed to clean the retval passing trough all
> >    the functions used for node creation.
> > 
> >  o DEVNODE sounds a bit ugly for netdev's so I exported DEVNAME too.
> >    Can we change the name?
> 
> Can you think of a better name?

I think DEVNAME sounds better for a netdev and is fine for a node too?
What do you think?

thanks,
Kay


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

  parent reply	other threads:[~2004-03-31 23:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-28 18:48 [PATCH] netdev - udevdb+dev.d changes Kay Sievers
2004-03-31 23:14 ` Greg KH
2004-03-31 23:40 ` Kay Sievers [this message]
2004-04-01  0:22 ` Greg KH
2004-04-01  0:41 ` Kay Sievers
2004-04-01  1:02 ` Greg KH

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=20040331234026.GA13247@vrfy.org \
    --to=kay.sievers@vrfy.org \
    --cc=linux-hotplug@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.