public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul Mundt <lethal@linux-sh.org>
To: Norbert Preining <preining@logic.at>
Cc: linux-kernel@vger.kernel.org
Subject: Re: /dev/sda disappearing with SYFS_DEPRECATED?
Date: Tue, 16 Nov 2010 14:51:09 +0900	[thread overview]
Message-ID: <20101116055108.GB1064@linux-sh.org> (raw)
In-Reply-To: <20101116052027.GB24410@gamma.logic.tuwien.ac.at>

On Tue, Nov 16, 2010 at 02:20:27PM +0900, Norbert Preining wrote:
> I just changed my kernel config slightly to activate some DEPRECATED
> configs and alas, the change was interesting, suddenly there
> was no /dev/sda shown anymore.
> 
> Userspace remain completely the same (debian/sid up2date).
> 
> The only changes I made in the .config file was:
> -# CONFIG_SYSFS_DEPRECATED is not set
> +CONFIG_SYSFS_DEPRECATED=y
> +CONFIG_SYSFS_DEPRECATED_V2=y
> 
> -CONFIG_NFSD_DEPRECATED=y
> +# CONFIG_NFSD_DEPRECATED is not set
> 
> and this made the /dev/sda* entries disappear.
> 
> Is that to be expected?
> 
Yes. Newer tools are incompatible with these settings, as noted in the
Kconfig help for these entries:

config SYSFS_DEPRECATED

	...

          Recent distributions and userspace tools after 2009/2010 depend on
          the existence of /sys/class/block/, and will not work with this
          option enabled.

SYSFS_DEPRECATED_V2 just forces this behaviour on.

  reply	other threads:[~2010-11-16  5:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-16  5:20 /dev/sda disappearing with SYFS_DEPRECATED? Norbert Preining
2010-11-16  5:51 ` Paul Mundt [this message]
2010-11-16 12:08   ` Norbert Preining

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101116055108.GB1064@linux-sh.org \
    --to=lethal@linux-sh.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=preining@logic.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox