modprobe (small vs big) behavior inconsistency

Denys Vlasenko vda.linux at googlemail.com
Wed Feb 1 00:39:53 UTC 2017


On Tue, Jan 31, 2017 at 2:53 PM, Kang-Che Sung <explorer09 at gmail.com> wrote:
> I just discovered an inconsistency between the two modprobe
> implementations (modprobe-small and the "big" modprobe).
>
> It's about "checking whether module has already loaded" part.
> Both implementations open and parse /proc/modules file,
> however, the "small" version will read the "Live", "Loading" or
> "Unloading" states of the modules, while the "big" version totally
> ignores it.
>
> So is this inconsistency a sign of a bug?

big modprobe is probably less correct here


More information about the busybox mailing list