lkml.org 
[lkml]   [2004]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [2.6.3] Sysfs breakage - tun.ko
    Date
    Followup to:  <40439B03.4000505@backtobasicsmgmt.com>
    By author: "Kevin P. Fleming" <kpfleming@backtobasicsmgmt.com>
    In newsgroup: linux.dev.kernel
    >
    > 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.
    >

    Bullsh*t.

    User-space apps expect it to be /dev/net/tun, which is the documented
    path for this device node. Anything else is a devfs bug (/dev/misc is
    a devfs bug from beginning to end.)

    -hpa
    -
    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 14:01    [W:0.021 / U:88.996 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site