D&C GLug - Home Page

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

Re: [LUG] Mac help

 

On Mon, 28 Jul 2008 07:41:09 +0100, Neil Williams wrote:
> 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.

Cool!  I'd presumed that Mac would be different from Linux on this front. 
I'm *very* pleased to find it isn't.  (I don't have a Mac capable of
running 10.x)

Grant.


-- 
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