Skip to contentSkip to conversation

fs: use menuconfig for misc. filesystems menu

PATCH New Randy Dunlap 1 participant 1 message Dec 4, 2008 VFS

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 fs: use menuconfig for misc. filesystems menu

From: Randy Dunlap <[email protected]>

Have one option to control Miscellaneous filesystems. This makes it easy to disable all of them at one time.

---

Was this already attempted? If so, was there any problem with it?

Updated re Phillip's comments. Thanks.
Only a help message change. Please replace the previous patch, Andrew.

 fs/Kconfig |   17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)
fs/Kconfig +15 -2
@@ -758,7 +758,20 @@ config CONFIGFS_FS
 
 endmenu
 
-menu "Miscellaneous filesystems"
+menuconfig MISC_FILESYSTEMS
+	bool "Miscellaneous filesystems"
+	default y
+	---help---
+	  Say Y here to get to see options for various miscellaneous
+	  filesystems, such as filesystems that came from other
+	  operating systems or Linux embedded filesystems.
+
+	  This option alone does not add any kernel code.
+
+	  If you say N, all options in this submenu will be skipped and
+	  disabled; if unsure, say Y here.
+
+if MISC_FILESYSTEMS
 
 config ADFS_FS
 	tristate "ADFS file system support (EXPERIMENTAL)"
@@ -1128,7 +1141,7 @@ config UFS_DEBUG
 	  Y here.  This will result in _many_ additional debugging messages to be
 	  written to the system log.
 
-endmenu
+endif # MISC_FILESYSTEMS
 
 menuconfig NETWORK_FILESYSTEMS
 	bool "Network File Systems"