public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Make procfs obligatory except under CONFIG_EMBEDDED
@ 2006-05-29 22:07 H. Peter Anvin
  2006-05-31 22:18 ` Bill Davidsen
  0 siblings, 1 reply; 3+ messages in thread
From: H. Peter Anvin @ 2006-05-29 22:07 UTC (permalink / raw)
  To: akpm, linux-kernel

From: H. Peter Anvin <hpa@zytor.com>

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.

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

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

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

* Re: [PATCH] Make procfs obligatory except under CONFIG_EMBEDDED
  2006-05-29 22:07 [PATCH] Make procfs obligatory except under CONFIG_EMBEDDED H. Peter Anvin
@ 2006-05-31 22:18 ` Bill Davidsen
  2006-05-31 22:18   ` H. Peter Anvin
  0 siblings, 1 reply; 3+ messages in thread
From: Bill Davidsen @ 2006-05-31 22:18 UTC (permalink / raw)
  To: H. Peter Anvin, Linux Kernel M/L

H. Peter Anvin wrote:
> From: H. Peter Anvin <hpa@zytor.com>
> 
> 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@zytor.com>
> 
> 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


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

* Re: [PATCH] Make procfs obligatory except under CONFIG_EMBEDDED
  2006-05-31 22:18 ` Bill Davidsen
@ 2006-05-31 22:18   ` H. Peter Anvin
  0 siblings, 0 replies; 3+ messages in thread
From: H. Peter Anvin @ 2006-05-31 22:18 UTC (permalink / raw)
  To: Bill Davidsen; +Cc: Linux Kernel M/L

Bill Davidsen wrote:
> H. Peter Anvin wrote:
>> From: H. Peter Anvin <hpa@zytor.com>
>>
>> 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.
>

Probably because procfs predates CONFIG_EMBEDDED by many years, and noone really thought 
about it.  Either that or it was part of the "let's switch all of userspace to sysfs, 
overnight!" conspiracy.

	-hpa

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

end of thread, other threads:[~2006-05-31 22:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-29 22:07 [PATCH] Make procfs obligatory except under CONFIG_EMBEDDED H. Peter Anvin
2006-05-31 22:18 ` Bill Davidsen
2006-05-31 22:18   ` H. Peter Anvin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox