From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 25 14:14:15 2004 Return-Path: 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 5248D16A4CE for ; Thu, 25 Mar 2004 14:14:15 -0800 (PST) Received: from bloodwood.hunterlink.net.au (mail.hunterlink.net.au [203.12.144.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 547A643D39 for ; Thu, 25 Mar 2004 14:14:14 -0800 (PST) (envelope-from samuel.lawrance@studentmail.newcastle.edu.au) Received: from [202.7.67.25] (as1-p25.mait.hunterlink.net.au [202.7.67.25]) i2PMEA5R001698 for ; Fri, 26 Mar 2004 09:14:11 +1100 From: Sam Lawrance To: freebsd-hackers@freebsd.org Content-Type: text/plain Message-Id: <1080252926.1138.18.camel@dirk> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Fri, 26 Mar 2004 09:15:26 +1100 Content-Transfer-Encoding: 7bit Subject: kldstat and module ref count X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2004 22:14:15 -0000 Hi, I've tried to find the answer to this but am stuck. How can I prevent a kld module being unloaded if it is still in use? Filesystem modules give "device busy" if you try to kldunload them while still in use. Any sort of quick pointer in the right direction would be much appreciated. Cheers -Sam.