lkml.org 
[lkml]   [2004]   [Mar]   [1]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateMon, 01 Mar 2004 19:48:28 +0000
FromNigel Kukard <>
Subject[2.6.3] Sysfs breakage - tun.ko
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
  };

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:01    [from the cache]
©2003-2008