linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* udev /dev/net/tun bug
@ 2004-07-06  2:05 Alexander E. Patrakov
  2004-07-06  2:28 ` Greg KH
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Alexander E. Patrakov @ 2004-07-06  2:05 UTC (permalink / raw)
  To: linux-hotplug

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-07-09 17:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-06  2:05 udev /dev/net/tun bug Alexander E. Patrakov
2004-07-06  2:28 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).