kern/185022: ls /dev/tun<n> creates tun<n> interface
John P Hartmann
jphartmann at gmail.com
Fri Dec 20 11:00:00 UTC 2013
>Number: 185022
>Category: kern
>Synopsis: ls /dev/tun<n> creates tun<n> interface
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Dec 20 11:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: John P Hartmann
>Release: 9.1
>Organization:
Self
>Environment:
[root at fb91 ~]# uname -a
FreeBSD fb91.jphartmann.net 9.1-RELEASE-p7 FreeBSD 9.1-RELEASE-p7 #0: Mon Sep 9 21:34:37 UTC 2013 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
[root at fb91 ~]# ls -l /dev/tun*
crw------- 1 uucp dialer 0, 128 Dec 20 11:42 /dev/tun0
crw------- 1 uucp dialer 0, 129 Dec 20 11:43 /dev/tun1
[root at fb91 ~]# ls -l /dev/tun2
crw------- 1 uucp dialer 0, 130 Dec 20 11:45 /dev/tun2
[root at fb91 ~]# ls -l /dev/tun*
crw------- 1 uucp dialer 0, 128 Dec 20 11:42 /dev/tun0
crw------- 1 uucp dialer 0, 129 Dec 20 11:43 /dev/tun1
crw------- 1 uucp dialer 0, 130 Dec 20 11:45 /dev/tun2
[root at fb91 ~]# ifconfig -l
em0 lo0 tun0 tun1 tun2
>How-To-Repeat:
Assuming there is no /dev/tun9
ls /dev/tun9
or
stat /dev/tun9
ls /dev/tun creates the next sequential device.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list