From owner-freebsd-current Wed Sep 12 17:28:14 2001 Delivered-To: freebsd-current@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id 4FCEB37B40F for ; Wed, 12 Sep 2001 17:28:08 -0700 (PDT) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id f8D0S0Z32260; Wed, 12 Sep 2001 17:28:00 -0700 Date: Wed, 12 Sep 2001 17:27:59 -0700 From: Brooks Davis To: Doug Ambrisko Cc: freebsd-current@FreeBSD.ORG Subject: Re: Anyone experience problems with the "tap" device in current? Message-ID: <20010912172759.A31013@Odin.AC.HMC.Edu> References: <200109122359.f8CNxHg59969@ambrisko.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="huq684BweRXVnRxX" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200109122359.f8CNxHg59969@ambrisko.com>; from ambrisko@ambrisko.com on Wed, Sep 12, 2001 at 04:59:16PM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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