Re: [2.6.3] Sysfs breakage - tun.ko

From: Nigel Kukard
Date: Tue Mar 02 2004 - 01:05:41 EST



Nothing said solves the problem, the problem has got nothing to do with
devfs (only for compat reasons), the problem is that "net/tun" breaks
sysfs.

-Nigel


On Mon, Mar 01, 2004 at 01:20:19PM -0700, Kevin P. Fleming 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.

Attachment: pgp00000.pgp
Description: PGP signature