- Can someone help me understand the following
Note: trivial information from
install foo /sbin/modprobe --ignore-install foo; /sbin/start_udev alias char-major-10-32 foo
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
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
If you do so the system then executes
/sbin/modprobe --ignore-install foo
--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.