D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Mac help

 

On Mon, 2008-07-28 at 05:36 +0100, Mike Tidball wrote:
> > Hi Mike,
> >
> > If Mac 10.x is anything like <10, then when it's booting up hold the shift
> > key... it should boot without any "extensions" or anything.  Then you can
> > remove the driver.
> >
> > Hope this helps.
> >
> > Grant.
> 
> 
> OK,but how do you remove a driver,where do you find a list of all the 
> drivers that are installed and an option to remove them?

You don't need to delete the driver file itself, just stop it loading.

To get a list of kernel modules, open a terminal window
(yes, I know this is Mac but even Mac still needs console):
$ lsmod

To remove a particular module:
$ sudo modprobe -r $module_name
(use modprobe -r because it also removes the dependencies of that module
- if there are dependencies, rmmod can fail horribly.)

To stop the module loading at next boot (if that is what you want to
do), ensure it is not in /etc/modules and/or specify it as a blacklisted
module.

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/


Attachment: signature.asc
Description: This is a digitally signed message part

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html