[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rmmod not available in installation shell



Nikita V. Youshchenko a écrit :
Hello.

Seems it is very bad that rmmod is not available in installation shell.
It makes it not possible to fix a typo in module parameters (such as invalid
IRQ).


i agree, modprobe do not changed module parameters when module is loaded.
So if the user has made a mistake, he has to reboot...

example:
$modprobe parport_pc irq=7 io=0x378
$cat /proc/sys/dev/parport/parport0/irq
7
$modprobe parport_pc irq=5 io=0x378
$cat /proc/sys/dev/parport/parport0/irq
7

but with rmmod:
$rmmod parport_pc
$modprobe parport_pc irq=5 io=0x378
$cat /proc/sys/dev/parport/parport0/irq
5

i think we must have rmmod in busybox

sylvain







Reply to: