Messages in this thread Patch in this message |  | | | Date | Mon, 01 Mar 2004 19:48:28 +0000 | | From | Nigel 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/
|  |