From owner-freebsd-questions Tue May 14 12:19:39 2002 Delivered-To: freebsd-questions@freebsd.org Received: from axel.truedestiny.net (a185066.upc-a.chello.nl [62.163.185.66]) by hub.freebsd.org (Postfix) with ESMTP id 391F337B401 for ; Tue, 14 May 2002 12:19:35 -0700 (PDT) Received: by axel.truedestiny.net (Postfix, from userid 1000) id 784FA49AB2; Tue, 14 May 2002 21:19:38 +0200 (CEST) Date: Tue, 14 May 2002 21:19:38 +0200 From: Axel Scheepers To: ozdemir dogan Cc: freebsd-questions@freebsd.org Subject: Re: deinstalling modules Message-ID: <20020514211938.G9170@mars.thuis> Reply-To: Axel Scheepers References: <20020514175240.15282.qmail@web14908.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020514175240.15282.qmail@web14908.mail.yahoo.com>; from ozdemirdgn@yahoo.com on Tue, May 14, 2002 at 10:52:40AM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Ozdemir, On Tue, May 14, 2002 at 10:52:40AM -0700, ozdemir dogan wrote: > I compiled and installed a sound driver and now I > want to deinstall it.How can I do this? > Thank you. How did you install it? If you've build your custom kernel, you should take out the appropiate line in your kernel config which usually is in /usr/src/sys/i386/conf/MACHINE_NAME After editing do: config -R MACHINE_NAME && cd ../compile/MACHINE_NAME && make depend install When you've used a loadable module, you can use the kldunload unload command. try: kldstat ... ... kldunload module_name You should also check your startup scripts afterwards, so it won't get loaded again at boot time, usually /etc/rc.local or /etc/rc.service_name. Gr, -- Axel Scheepers UNIX System Administrator email: axel@axel.truedestiny.net a.scheepers@iae.nl http://axel.truedestiny.net/~axel ------------------------------------------ You can't start worrying about what's going to happen. You get spastic enough worrying about what's happening now. -- Lauren Bacall ------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message