LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-19-2013, 04:49 AM   #1
hmarne
LQ Newbie
 
Registered: Jun 2008
Posts: 1

Rep: Reputation: 0
Check if kernel supports CIFS protocol?


How to check if kernel supports CIFS protocol for mounting a CIFS share on Linux?
 
Old 09-19-2013, 05:15 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by hmarne View Post
How to check if kernel supports CIFS protocol for mounting a CIFS share on Linux?
You can grep for cifs in the kernel configuration file. This file is most often present in your /boot directory (called config-<kernel.number> or alike).
Code:
grep -i cifs config-<kernel.number>
If something like the following is shown then cifs is enabled (especially the bold one):
Code:
CONFIG_CIFS=m
# CONFIG_CIFS_STATS is not set
CONFIG_CIFS_WEAK_PW_HASH=y
CONFIG_CIFS_UPCALL=y
CONFIG_CIFS_XATTR=y
CONFIG_CIFS_POSIX=y
# CONFIG_CIFS_DEBUG2 is not set
CONFIG_CIFS_DFS_UPCALL=y
CONFIG_CIFS_EXPERIMENTAL=y
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What protocol choice is safe for home directories? NFS, CIFS, SSHFS startoftext Linux - Security 3 08-18-2011 05:34 PM
CIFS file system check. pinga123 Linux - Newbie 6 07-28-2010 10:20 PM
libnet supports L2TP protocol dheivan Linux - Software 0 09-13-2007 09:12 AM
Out-of-the-box NAS that supports the SSH protocol? overge Linux - Networking 1 08-15-2006 11:41 AM
How do I check what the kernel supports? svar Linux - General 3 08-29-2004 12:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration