how to prevent Ubuntu to automatically insert the modules
miloody at gmail.com
Mon Jun 28 06:21:29 UTC 2010
thanks for your kind help :)
2010/6/22 Tom H <tomh0665 at gmail.com>:
> On Tue, Jun 22, 2010 at 8:57 AM, loody <miloody at gmail.com> wrote:
>> I try to trace gadet Mass storage driver in kernel, but each time I
>> insert g_storage_file.ko the usb-storage.ko
>> will be automatically inserted.
>> Is there any way to prevent Ubuntu automatically instert the modules?
> Create a file in /etc/modprobe.d containing
> install usb-storage.ko /bin/true
it works fine.
I hve some questions:
1. what is the mechanism that ubuntu can automatically load modules?
2. is it possible to only restrict usb-storage.ko from loading when I
appreciate your help,
More information about the ubuntu-users