0

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.

1 Answer 1

1

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.

2
  • I have the following scripts "modprobe -k -q -- streams" what does it mean exactly ?
    – deddihp
    May 4, 2010 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, 2010 at 6:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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