modprobe: remove support for renaming modules
This was prompted by the observation that do_softdep() doesn't implement
module renaming.
Searching for "modprobe -o" and "modprobe --name" turns up two possible
uses: creating multiple instances of the "bonding" or "dummy" network
devices. Modern kernels provide cleaner ways to do this. The old
way using "modprobe --name" doesn't work any more.
<https://bugzilla.redhat.com/show_bug.cgi?id=247718>
"Bonding Module fails to recognise the '-o' parameter on load"
Comment #1 should explain how to resolve this issue.
To create an additional bond on rhel5, please do this:
# echo another_name > /sys/class/net/bonding_masters
rather than using modprobe. The kernel's bonding code now uses
sysfs for configuration of multiple bonds
<http://lkml.org/lkml/2007/6/8/381>
"2.6 kernel: Cannot make multiple dummy network interfaces"
[solution was to use the "numdummies" module option]