LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] KCONFIG:  Set the default for the deprecated sysfs entries to N.
@ 2007-03-04 11:08 Robert P. J. Day
  2007-03-04 16:27 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2007-03-04 11:08 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: Greg KH


  Set the default for creating deprecated sysfs files to "no".

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>

---

  Given that the help info for this entry states that "None of these
features or values should be used today," it makes more sense for the
config entry to default to no, wouldn't you think?

diff --git a/init/Kconfig b/init/Kconfig
index f977086..7fa74ca 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -275,7 +275,7 @@ config CPUSETS

 config SYSFS_DEPRECATED
 	bool "Create deprecated sysfs files"
-	default y
+	default n
 	help
 	  This option creates deprecated symlinks such as the
 	  "device"-link, the <subsystem>:<name>-link, and the

-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================

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

* Re: [PATCH] KCONFIG:  Set the default for the deprecated sysfs entries to N.
  2007-03-04 11:08 [PATCH] KCONFIG: Set the default for the deprecated sysfs entries to N Robert P. J. Day
@ 2007-03-04 16:27 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2007-03-04 16:27 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: Linux Kernel Mailing List

On Sun, Mar 04, 2007 at 06:08:04AM -0500, Robert P. J. Day wrote:
> 
>   Set the default for creating deprecated sysfs files to "no".
> 
> Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
> 
> ---
> 
>   Given that the help info for this entry states that "None of these
> features or values should be used today," it makes more sense for the
> config entry to default to no, wouldn't you think?

No, it turns out that there were just too many people using older
userspaces, so the default of Y is correct for now.  It's also safer
that way as otherwise people build kernels that don't boot.

So sorry, I'm not going to apply this change.

thanks,

greg k-h

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

end of thread, other threads:[~2007-03-04 16:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-04 11:08 [PATCH] KCONFIG: Set the default for the deprecated sysfs entries to N Robert P. J. Day
2007-03-04 16:27 ` Greg KH

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).