All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alexander E. Patrakov" <patrakov@ums.usu.ru>
To: linux-hotplug@vger.kernel.org
Subject: udev /dev/net/tun bug
Date: Tue, 06 Jul 2004 02:05:41 +0000	[thread overview]
Message-ID: <40EA08F5.1070303@ums.usu.ru> (raw)

To reproduce:

cd /etc/hotplug
modprobe tun
udevstart

Result:

The following synthetic "net" hotplug event is received:

=======
DEVPATH=/class/misc/tun
UDEV_NO_SLEEP=1
ACTION­d
PWD=/etc/hotplug
DEVNAME=/dev/net/tun
SHLVL=2
INTERFACE=/dev/net/tun
_=/usr/bin/env
=======

This event is bogus, because there is really no interface, but a 
character device /dev/net/tun is involved. You may be interested in the 
following information:

udevinfo -a -p /class/misc/tun

device '/sys/class/misc/tun' has major:minor 10:200
   looking at class device '/sys/class/misc/tun':
     SYSFS{dev}="10:200"

-- 
Alexander E. Patrakov


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

             reply	other threads:[~2004-07-06  2:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-06  2:05 Alexander E. Patrakov [this message]
2004-07-06  2:28 ` udev /dev/net/tun bug Greg KH
2004-07-06  5:48 ` Kevin P. Fleming
2004-07-06  9:26 ` Alexander E. Patrakov
2004-07-09 17:47 ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40EA08F5.1070303@ums.usu.ru \
    --to=patrakov@ums.usu.ru \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.