linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [TRIVIAL] kill annoying submenus in fs/Kconfig
@ 2003-08-05  7:27 Tomas Szepe
  0 siblings, 0 replies; 4+ messages in thread
From: Tomas Szepe @ 2003-08-05  7:27 UTC (permalink / raw)
  To: torvalds; +Cc: lkml

Resend: patch against test2-bk4.
Kill annoying submenus in fs/Kconfig.

-- 
Tomas Szepe <szepe@pinerecords.com>


diff -urN a/fs/Kconfig b/fs/Kconfig
--- a/fs/Kconfig	2003-06-14 23:07:12.000000000 +0200
+++ b/fs/Kconfig	2003-07-26 20:48:56.000000000 +0200
@@ -481,7 +481,11 @@
 	  local network, you probably do not need an automounter, and can say
 	  N here.
 
-menu "CD-ROM/DVD Filesystems"
+config CD_FS
+	bool "CD-ROM/DVD Filesystems"
+	default y
+
+if CD_FS
 
 config ISO9660_FS
 	tristate "ISO 9660 CDROM file system support"
@@ -545,9 +549,13 @@
 
 	  If unsure, say N.
 
-endmenu
+endif
+
+config MS_FS
+	bool "DOS/FAT/NT Filesystems"
+	default y
 
-menu "DOS/FAT/NT Filesystems"
+if MS_FS
 
 config FAT_FS
 	tristate "DOS FAT fs support"
@@ -728,9 +736,13 @@
 
 	  It is strongly recommended and perfectly safe to say N here.
 
-endmenu
+endif
+
+config PSEUDO_FS
+	bool "Pseudo filesystems"
+	default y
 
-menu "Pseudo filesystems"
+if PSEUDO_FS
 
 config PROC_FS
 	bool "/proc file system support"
@@ -881,9 +893,13 @@
 	  say M here and read <file:Documentation/modules.txt>.  The module
 	  will be called ramfs.
 
-endmenu
+endif
+
+config MISC_FS
+	bool "Miscellaneous filesystems"
+	default y
 
-menu "Miscellaneous filesystems"
+if MISC_FS
 
 config ADFS_FS
 	tristate "ADFS file system support (EXPERIMENTAL)"
@@ -1261,10 +1277,14 @@
 	  Say Y here if you want to try writing to UFS partitions. This is
 	  experimental, so you should back up your UFS partitions beforehand.
 
-endmenu
+endif
 
-menu "Network File Systems"
+config NET_FS
+	bool "Network File Systems"
 	depends on NET
+	default y
+
+if NET_FS
 
 config NFS_FS
 	tristate "NFS file system support"
@@ -1591,7 +1611,7 @@
 	default m if AFS_FS=m
 	default y if AFS_FS=y
 
-endmenu
+endif
 
 menu "Partition Types"
 


^ permalink raw reply	[flat|nested] 4+ messages in thread
* [TRIVIAL] kill annoying submenus in fs/Kconfig
@ 2003-07-26 19:55 Tomas Szepe
  2003-07-27  3:09 ` Randy.Dunlap
  0 siblings, 1 reply; 4+ messages in thread
From: Tomas Szepe @ 2003-07-26 19:55 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: lkml

Patch against -bk3.

-- 
Tomas Szepe <szepe@pinerecords.com>


diff -urN a/fs/Kconfig b/fs/Kconfig
--- a/fs/Kconfig	2003-06-14 23:07:12.000000000 +0200
+++ b/fs/Kconfig	2003-07-26 20:48:56.000000000 +0200
@@ -481,7 +481,11 @@
 	  local network, you probably do not need an automounter, and can say
 	  N here.
 
-menu "CD-ROM/DVD Filesystems"
+config CD_FS
+	bool "CD-ROM/DVD Filesystems"
+	default y
+
+if CD_FS
 
 config ISO9660_FS
 	tristate "ISO 9660 CDROM file system support"
@@ -545,9 +549,13 @@
 
 	  If unsure, say N.
 
-endmenu
+endif
+
+config MS_FS
+	bool "DOS/FAT/NT Filesystems"
+	default y
 
-menu "DOS/FAT/NT Filesystems"
+if MS_FS
 
 config FAT_FS
 	tristate "DOS FAT fs support"
@@ -728,9 +736,13 @@
 
 	  It is strongly recommended and perfectly safe to say N here.
 
-endmenu
+endif
+
+config PSEUDO_FS
+	bool "Pseudo filesystems"
+	default y
 
-menu "Pseudo filesystems"
+if PSEUDO_FS
 
 config PROC_FS
 	bool "/proc file system support"
@@ -881,9 +893,13 @@
 	  say M here and read <file:Documentation/modules.txt>.  The module
 	  will be called ramfs.
 
-endmenu
+endif
+
+config MISC_FS
+	bool "Miscellaneous filesystems"
+	default y
 
-menu "Miscellaneous filesystems"
+if MISC_FS
 
 config ADFS_FS
 	tristate "ADFS file system support (EXPERIMENTAL)"
@@ -1261,10 +1277,14 @@
 	  Say Y here if you want to try writing to UFS partitions. This is
 	  experimental, so you should back up your UFS partitions beforehand.
 
-endmenu
+endif
 
-menu "Network File Systems"
+config NET_FS
+	bool "Network File Systems"
 	depends on NET
+	default y
+
+if NET_FS
 
 config NFS_FS
 	tristate "NFS file system support"
@@ -1591,7 +1611,7 @@
 	default m if AFS_FS=m
 	default y if AFS_FS=y
 
-endmenu
+endif
 
 menu "Partition Types"
 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-08-05  7:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-05  7:27 [TRIVIAL] kill annoying submenus in fs/Kconfig Tomas Szepe
  -- strict thread matches above, loose matches on Subject: below --
2003-07-26 19:55 Tomas Szepe
2003-07-27  3:09 ` Randy.Dunlap
2003-07-27  7:02   ` Tomas Szepe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).