0

I need to determine the CIFs version that exists in my kernel, but the CIFs module isn't loaded.

my-user@ip-XX-XX-XX-XX:~$ modinfo kernel/fs/cifs.ko
modinfo: ERROR: Module kernel/fs/cifs.ko not found.

When I run find /lib/modules/$(uname -r) -type f -name '*.ko*' in the list of results I see /lib/modules/4.15.0-1058-aws/kernel/fs/cifs/cifs.ko

How can I find out what version of cifs.ko exists, awaiting potential use, in my kernel? I'm using Ubuntu 18.04.

0

Try modinfo (if you are not root you might need the full path) with the name of the module:

$ /sbin/modinfo cifs
  • That did it--I was just using the wrong path and I didn't realize it would work without the full path. Thanks! – Shawn Feb 14 at 23:41

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.