public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Nigel Kukard <nkukard@lbsd.net>
To: linux-kernel@vger.kernel.org
Subject: [2.6.3] Sysfs breakage - tun.ko
Date: Mon, 01 Mar 2004 19:48:28 +0000	[thread overview]
Message-ID: <4043938C.9090504@lbsd.net> (raw)

Hi,

Loading tun.ko module breaks on sysfs...

 > [root@localhost misc]# pwd
 > /sys/class/misc
 > [root@localhost misc]# ls
 > dac960_gam  device-mapper  net/tun  psaux
 > [root@localhost misc]# cd net\/tun
 > bash: cd: net/tun: No such file or directory
 > [root@localhost misc]#


Why not just make it in misc? why net/tun seeing as everything else is 
just dumped there. Patch below.



--- 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
  };


             reply	other threads:[~2004-03-01 19:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-01 19:48 Nigel Kukard [this message]
2004-03-01 20:20 ` [2.6.3] Sysfs breakage - tun.ko Kevin P. Fleming
2004-03-01 20:24   ` Nigel Kukard
2004-03-01 20:47   ` Chris Wright
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=4043938C.9090504@lbsd.net \
    --to=nkukard@lbsd.net \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox