mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chris Wright <chrisw@osdl.org>
To: "Kevin P. Fleming" <kpfleming@backtobasicsmgmt.com>
Cc: Nigel Kukard <nkukard@lbsd.net>, linux-kernel@vger.kernel.org
Subject: Re: [2.6.3] Sysfs breakage - tun.ko
Date: Mon, 1 Mar 2004 12:47:23 -0800	[thread overview]
Message-ID: <20040301124723.P22989@build.pdx.osdl.net> (raw)
In-Reply-To: <40439B03.4000505@backtobasicsmgmt.com>; from kpfleming@backtobasicsmgmt.com on Mon, Mar 01, 2004 at 01:20:19PM -0700

* Kevin P. Fleming (kpfleming@backtobasicsmgmt.com) wrote:
> Nigel Kukard wrote:
> 
> > --- drivers/net/tun.c.old   2004-02-27 18:18:55.000000000 +0200
> > +++ drivers/net/tun.c       2004-02-27 18:19:02.000000000 +0200
> > @@ -605,7 +605,7 @@
> > 
> >  static struct miscdevice tun_miscdev = {
> >         .minor = TUN_MINOR,
> > -       .name = "net/tun",
> > +       .name = "tun",
> >         .fops = &tun_fops
> >  };
> 
> This changed back and forth since the tun driver was added to the 
> kernel; making this change will cause the devfs path to the tun node to 
> change, and userspace applications expect it to be at /dev/misc/net/tun, 
> whether that's right or wrong.

Why don't you use:
	.devfs_name = "net/tun",

Or fix userspace apps?  Or switch to udev with devfs rules emulated and a
rule for the tun/tap driver?

thanks,
-chris
-- 
Linux Security Modules     http://lsm.immunix.org     http://lsm.bkbits.net

  parent reply	other threads:[~2004-03-01 20:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-01 19:48 Nigel Kukard
2004-03-01 20:20 ` Kevin P. Fleming
2004-03-01 20:24   ` Nigel Kukard
2004-03-01 20:47   ` Chris Wright [this message]
2004-03-01 21:08     ` Kevin P. Fleming
2004-03-02  0:32   ` H. Peter Anvin
2004-03-02  6:02   ` Nigel Kukard
2004-03-03  2:28     ` Chris Wright
2004-03-04  5:25       ` Nigel Kukard

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=20040301124723.P22989@build.pdx.osdl.net \
    --to=chrisw@osdl.org \
    --cc=kpfleming@backtobasicsmgmt.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nkukard@lbsd.net \
    /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

all inboxes | Powered by JetHome®