From owner-freebsd-hackers Fri Nov 29 3:28:10 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D87C37B401 for ; Fri, 29 Nov 2002 03:28:09 -0800 (PST) Received: from storming.org (MG034063.user.veloxzone.com.br [200.165.34.63]) by mx1.FreeBSD.org (Postfix) with SMTP id D0AFB43EDA for ; Fri, 29 Nov 2002 03:28:03 -0800 (PST) (envelope-from cseg@storming.org) Received: (qmail 20663 invoked by uid 1000); 29 Nov 2002 09:20:52 -0300 Date: Fri, 29 Nov 2002 09:20:52 +0300 From: Fred Souza To: Yury Tarasievich Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: vnconfig Message-ID: <20021129062052.GA20364@torment.storming.org> Reply-To: cseg@storming.org References: <200211282309.SAA95904@corp.e-scape.net> <20021129094708.GC408@deptty.in.grsu.by> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021129094708.GC408@deptty.in.grsu.by> X-Sender: cseg@storming.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Hi, Hello > Regarding vn subsystem: since about 4.6-RELEASE vnconfig -d no longer disables /dev/vn entry. > That means that... > > vnconfig -e /dev/vn > vnconfig -d /dev/vn > vnconfig -e /dev/vn > > ....gives vnconfig: VNIOCATTACH: Devise busy... > and only kldunload vn helps. Actually, it does disable it (or at least, using the same words from the manpage, if it's possible). Your problem most likely is that -d only disables the device, but does not "unconfigure" it. Try using the -u flag instead of -d, it'll do both things for you. Fred -- "Beware of friends who are false and deceitful." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message