Re: [PATCH] Make procfs obligatory except under CONFIG_EMBEDDED

From: Bill Davidsen
Date: Wed May 31 2006 - 18:15:15 EST


H. Peter Anvin wrote:
From: H. Peter Anvin <hpa@xxxxxxxxx>

This patch makes procfs non-optional unless EMBEDDED is set, just like
sysfs. procfs is already de facto required for a large subset of
Linux functionality.

I have no objection, but I'm curious why this wasn't done long ago.

Signed-off-by: H. Peter Anvin <hpa@xxxxxxxxx>

diff --git a/fs/Kconfig b/fs/Kconfig
index 71d6b30..2c3a733 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -764,7 +764,8 @@ endmenu
menu "Pseudo filesystems"
config PROC_FS
- bool "/proc file system support"
+ bool "/proc file system support" if EMBEDDED
+ default y
help
This is a virtual file system providing information about the status
of the system. "Virtual" means that it doesn't take up any space on

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/