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.

well, I got the following modprobe scripts

modprobe -k -q streams

what does the -k parameter mean ?. is it exist in older modprobe ?
I don't see -k parameter in recent modprobe.

Thanks for your help.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

The -k flag in older modprobe versions was used to set the autoclean flag on loaded modules. The autoclean flag was part of a mechanism in the kernel that allowed loaded modules that had not been used for a while to be unloaded automatically. If you listed loaded kernel modules on such a system, you could easily tell which modules were loaded with the autoclean bit set by looking for the (autoclean) tag somewhere on the line for the listed module.

The -k flag is missing from recent modprobe versions. I cannot say with certainty whether the use of this feature has been depreciated in recent kernel.

You could look at the manpage for an older version of modprobe here. And this, and this mention the autoclean flag.

share|improve this answer
    
I have the following scripts "modprobe -k -q -- streams" what does it mean exactly ? –  deddihp May 4 '10 at 5:44
    
If you read the manpage and the articles I linked to, you should be able to figure it out easily. –  ayaz May 4 '10 at 6:12

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.