aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/networking
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2012-03-30 16:37:20 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-30 19:03:15 -0400
commit78286cdf054212c6d2fe6524fbf673fb9ead1abe (patch)
tree6eee7972b83cfb77b9efab23f32fecbdb7695b6d /Documentation/networking
parent970e2486492aa1eb47a436a5a4c81e92558986a9 (diff)
Documentation: replace install commands with softdeps
Install commands should not be used to specify soft dependencies among modules. When loading modules it's much better to have a softdep that modprobe knows what's being done than having to fork/exec another instance of modprobe to load the other module. By using a softdep user has also an option to remove the dependencies when removing the module (and if its refcount dropped to 0) Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/networking')
-rw-r--r--Documentation/networking/bonding.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/networking/bonding.txt b/Documentation/networking/bonding.txt
index d5e869814040..bfea8a338901 100644
--- a/Documentation/networking/bonding.txt
+++ b/Documentation/networking/bonding.txt
@@ -1822,8 +1822,7 @@ modules.conf manual page.
1822In this case, the following can be added to config files in 1822In this case, the following can be added to config files in
1823/etc/modprobe.d/ as: 1823/etc/modprobe.d/ as:
1824 1824
1825install bonding /sbin/modprobe tg3; /sbin/modprobe e1000; 1825softdep bonding pre: tg3 e1000
1826 /sbin/modprobe --ignore-install bonding
1827 1826
1828 This will load tg3 and e1000 modules before loading the bonding one. 1827 This will load tg3 and e1000 modules before loading the bonding one.
1829Full documentation on this can be found in the modprobe.d and modprobe 1828Full documentation on this can be found in the modprobe.d and modprobe