Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Questions:

  • Can someone help me understand the following

Note: trivial information from /etc/modprobe.conf

 install foo /sbin/modprobe --ignore-install foo; /sbin/start_udev
 alias char-major-10-32 foo
share|improve this question

2 Answers 2

up vote 1 down vote accepted

I begin from button. Alias is a simple alias, instead you call modprobe char-major-10-32 you can use modprobe foo with the same effect, or vice versa.

Install is like a kind of alias too. With

install foo /sbin/modprobe --ignore-install foo; /sbin/start_udev

You be able to call

modprobe foo.

If you do so the system then executes

/sbin/modprobe --ignore-install foo

followed by

/sbin/start_udev.

--ignore-install in this case is not necessary.

From the manpage: For example, if the module "fred" works better with the module "barney" already installed (but it doesn't depend on it, so modprobe won't automatically load it), you could say "install fred /sbin/modprobe barney; /sbin/modprobe --ignore-install fred", which would do what you wanted. Note the --ignore-install, which stops the second modprobe from running the same install command again.

share|improve this answer
1  
@zzeroo: thanks, but which is the "...second modprobe" and why is "--ignore-install" not necessary please? –  Aaron Jan 11 '10 at 21:41
    
Hmmm difficult ;) by the way that's really rare stuff modern kernel autoload modules very fine. Now back to the problem. E.g. "exotic-file-system" and "exotic-hd" are two modules you want to load. You want if you modprobe exotic-file-system that "exotic-hd" is installed to. install exotic-file-system /sbin/modprobe exotic-hd; /sbin/modprobe --ignore-install exotic-file-system --ignore-install stops the second modprobe from running the same install command again. –  zzeroo Jan 12 '10 at 6:07

man modprobe.conf

If that doesn't tell you what you need to know, can you ask a more specific question?

share|improve this answer
2  
@pbr: Thanks - I'm aware of the man page, but I do not understand the description. My question is specific :-) –  Aaron Jan 11 '10 at 19:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.