2/28/2017 Can I list the filesystems a running kernel can support ? (1)
file:///home/user/nirav/meetups/run_fs.html#(1) 1/5
Can I list the filesystems a running kernelcan support ?Nirav Parmar
man pagelet’s have a look on man page of file system.
man 5 filesystems
you can find in the file /proc/filesystems which filesystems your kernelcurrently supports.
Before attaching pendrive:
2/28/2017 Can I list the filesystems a running kernel can support ? (1)
file:///home/user/nirav/meetups/run_fs.html#(1) 2/5
After attaching pendrive
Conclusion :The directory /proc/filesystems does not give the list of file systemswhich my kernel supports.
It gives the list of filesystems which are currently running.
2/28/2017 Can I list the filesystems a running kernel can support ? (1)
file:///home/user/nirav/meetups/run_fs.html#(1) 3/5
Another wayLet’s check another way:
cat /lib/modules/$(uname -r)/kernel/fs
Conclusion :- /lib/modules/$(uname -r)/kernel/fs will only help withfilesystems that have been enabled as modules, not ones that are builtinto the kernel.
Additionally a module name might not match the filesystem name itprovides, and a single module can provide multiple filesystems.
Solution
--- cat /boot/config ---
--- # # DOS/FAT/NT Filesystems # CONFIG_FAT_FS=m CONFIG_MSDOS_FS=m CONFIG_VFAT_FS=m CONFIG_FAT_DEFAULT_CODEPAGE=437 CONFIG_FAT_DEFAULT_IOCHARSET="utf8" CONFIG_NTFS_FS=m # CONFIG_NTFS_DEBUG is not set
2/28/2017 Can I list the filesystems a running kernel can support ? (1)
file:///home/user/nirav/meetups/run_fs.html#(1) 4/5
# CONFIG_NTFS_DEBUG is not set CONFIG_NTFS_RW=y # ---
cont…here, m indicated that it is compiled as a module but currently notinserted in kernel
y indicates that it is currently inserted in kernel
We can check the config file which was loaded during the bootingprocess.
Reference link :-
--- https://www.cyberciti.biz/tips/tell-what-filesystems-linux-kernel-can-handle.html http://ask.xmodulo.com/find-information-builtin-kernel-modules-linux.html http://unix.stackexchange.com/questions/98647/can-i-list-the-filesystems-a-running-kernel-can-support?
2/28/2017 Can I list the filesystems a running kernel can support ? (1)
file:///home/user/nirav/meetups/run_fs.html#(1) 5/5
the-filesystems-a-running-kernel-can-support?answertab=active# ---
Thank you