From owner-freebsd-current Mon Feb 11 12:14:43 2002 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 E776537B404 for ; Mon, 11 Feb 2002 12:14:33 -0800 (PST) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id g1BKEWZ28034; Mon, 11 Feb 2002 12:14:32 -0800 Date: Mon, 11 Feb 2002 12:14:32 -0800 From: Brooks Davis To: whoever Cc: freebsd-current@FreeBSD.ORG Subject: Re: Ethernet tunnel device Message-ID: <20020211121432.A22389@Odin.AC.HMC.Edu> References: <20020211032336.A2135@kashmir.etowns.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020211032336.A2135@kashmir.etowns.net>; from somebody@kashmir.etowns.net on Mon, Feb 11, 2002 at 03:23:36AM -0800 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 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 11, 2002 at 03:23:36AM -0800, whoever wrote: > clearly the device is opened by the previous=20 > instance of the program and is not closed.=20 > deleting the devices and recreating them didnt help any > (using devfs which comes stock in current - 5.0) > strangely even after deleting these devices from /dev > ifconfig still lists them !!!!!! may be its because of > devfs ....... but there ought to be someway. There is no notification of last delete in devfs so deleting a node doesn't do anyway. > trying to destroy the device using ifconfig gives an error > too which (i believe) it should because destroy is not > for ethernet tunnel device if I am not wrong. >=20 > but there are no options to destroy the ethernet tunnel > device in ifconfig .... Should there be????? Yes, I think we should add support for network device cloning and consider removing support for devfs cloning since it doesn't behave very logicaly. It's not there now, though it wouldn't be very hard to add. > I cant think anymore ... would appreciate input from you=20 > guys . Any input. Please dont shy about telling me that > I am going the wrong ally It sounds like there's some sort of a bug in the close code. You are sure the previous instance is really gone, right? If it is, that's another issue. -- 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 --lrZ03NoBR/3+SXJZ 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 iD8DBQE8aCYnXY6L6fI4GtQRAsrzAJsGBJKje2qLcu4yYKaizVbp2gk3NQCeIzrr 4NSEbRRRJm4BTeaLT9KpV60= =F2rR -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message