Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2001 17:27:59 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Doug Ambrisko <ambrisko@ambrisko.com>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Anyone experience problems with the "tap" device in current?
Message-ID:  <20010912172759.A31013@Odin.AC.HMC.Edu>
In-Reply-To: <200109122359.f8CNxHg59969@ambrisko.com>; from ambrisko@ambrisko.com on Wed, Sep 12, 2001 at 04:59:16PM -0700
References:  <200109122359.f8CNxHg59969@ambrisko.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--huq684BweRXVnRxX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Sep 12, 2001 at 04:59:16PM -0700, Doug Ambrisko wrote:
> I just tried using tap in current.  In both cases I don't see the
> /dev/tapX devices with devfs and accessing it without devfs doesn't
> work reporting "Device not configured".  I tried it as a module and
> built into the kernel.  Does anyone have this working?

With devfs, you just need to try opening the device and you'll get it if
it's not busy.  You can also open /dev/tap and get an arbitrary one.
This is due to tun(4) style cloning code I committed recently.  I'm not
actually sure this is the way we want to handle cloning hybrid devices,
but there is precident so I committed the patch.  I think we may want to
move to a model were we use interface cloning rather then devfs cloning
because it will work in stable.

-- Brooks

--=20
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

--huq684BweRXVnRxX
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7n/2MXY6L6fI4GtQRAkBgAJ9vaOZ8fLwg7lUYKmIf4X5BkwU5tACgjFVR
ZuZV/oISscL0LiOf4q6xzCw=
=0VVr
-----END PGP SIGNATURE-----

--huq684BweRXVnRxX--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010912172759.A31013>