modprobe: add -D option (synonym of --show-depends)
authorSerj Kalichev <serj.kalichev@gmail.com>
Tue, 28 Dec 2010 03:18:18 +0000 (04:18 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 28 Dec 2010 03:18:18 +0000 (04:18 +0100)
commit8578196b763a70746f2ab17170eb7ca9399ab8ac
treef987c5a2a29280c1390a6dad8d55813d053bb96e
parent260fb551ff4ba0cb8a5fdff848bce10588611231
modprobe: add -D option (synonym of --show-depends)

The modern module-init-tools 3.12 has "-D" option and it works.

The --show-depends and -a options can be used together due to upstream modprobe
behaviour.

function                                             old     new   delta
do_modprobe                                          536     579     +43
packed_usage                                       28035   28042      +7
modprobe_main                                        653     657      +4
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/0 up/down: 54/0)               Total: 54 bytes

Signed-off-by: Serj Kalichev <serj.kalichev@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
modutils/modprobe.c