public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6.3] Sysfs breakage - tun.ko
@ 2004-03-01 19:48 Nigel Kukard
  2004-03-01 20:20 ` Kevin P. Fleming
  0 siblings, 1 reply; 9+ messages in thread
From: Nigel Kukard @ 2004-03-01 19:48 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-03-04  5:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-01 19:48 [2.6.3] Sysfs breakage - tun.ko Nigel Kukard
2004-03-01 20:20 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox