alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <gregkh@suse.de>
To: Douglas Gilbert <dgilbert@interlog.com>
Cc: Konrad Rzeszutek Wilk <konrad@kernel.org>,
	"Eric W. Biederman" <ebiederm@xmission.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Greg KH <greg@kroah.com>,
	linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org,
	alsa-devel@alsa-project.org, Jens Axboe <axboe@kernel.dk>,
	Stephen Hemminger <shemminger@vyatta.com>,
	Kay Sievers <kay.sievers@vrfy.org>,
	Alan Stern <stern@rowland.harvard.edu>,
	"James E.J. Bottomley" <James.Bottomley@suse.de>,
	Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>,
	Randy Dunlap <randy.dunlap@oracle.com>, Tejun Heo <tj@kernel.org>,
	"David S. Miller" <davem@davemloft.net>,
	Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.de>,
	Ingo Molnar <mingo@elte.hu>,
	Peter Zijlstra <a.p.zijlstra@chello.nl>,
	David Howells <dhowells@redhat.com>,
	Dave Airlie <airlied@gmail.com>
Subject: Re: [PATCH] driver core: remove CONFIG_SYSFS_DEPRECATED
Date: Thu, 15 Jul 2010 10:02:16 -0700	[thread overview]
Message-ID: <20100715170216.GA21592@suse.de> (raw)
In-Reply-To: <4C3F3641.8020802@interlog.com>

On Thu, Jul 15, 2010 at 12:24:33PM -0400, Douglas Gilbert wrote:
> On 10-07-15 09:29 AM, Konrad Rzeszutek Wilk wrote:
>>
>>>> and the box still won't boot.
>>>
>>> The reason FC6 doesn't boot is there is a userspace tool
>>> I believe in the initrd that cares about symlinks when it should
>>> not.
>>
>> It is not just nash. Also multipathd would fail (as it expects
>> the /sys/scsi_host/..<something>  in certain directories), and 'lsscsi'. There
>> might be other tools that depend on libsysfs to be affected by this as well.
>
> lsscsi has been "CONFIG_SYSFS_DEPRECATED_V2" tolerant
> since version 0.21 released 20080710. The current
> version is 0.23 released 20091201 which will soon
> be displaced by 0.24 to cope with the most recent
> breakages.
>
> Writing a user space tool that relies on sysfs structure
> and contents, stable over the whole lk 2.6 series, is
> impossible. For a history of my pain with lsscsi see
> its ChangeLog.

Yeah, I'd recommend using libudev for any new tools if you want to
interact with sysfs.  It's much easier than mucking around with it
directly and will be future-proof as udev can handle a lot of changes to
sysfs that other tools might not realize.

thanks,

greg k-h

  reply	other threads:[~2010-07-15 17:02 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-09 18:54 [PATCH] driver core: remove CONFIG_SYSFS_DEPRECATED Greg Kroah-Hartman
2010-07-14 23:38 ` Andrew Morton
2010-07-15  0:24   ` Dave Airlie
2010-07-15  4:14     ` [alsa-devel] " Greg KH
2010-07-15  5:00       ` Dave Airlie
2010-07-15  5:35         ` [alsa-devel] " Greg KH
2010-07-15  6:32           ` Dave Airlie
2010-07-15  7:56             ` [alsa-devel] " Greg KH
2010-07-15  0:40   ` Eric W. Biederman
2010-07-15  4:16     ` Greg KH
2010-07-15  4:29       ` Eric W. Biederman
2010-07-15  4:44         ` Greg KH
2010-07-15 13:29     ` Konrad Rzeszutek Wilk
2010-07-15 14:27       ` Greg KH
2010-07-15 16:24       ` Douglas Gilbert
2010-07-15 17:02         ` Greg KH [this message]
2010-07-15  3:52   ` Greg KH
2010-07-15  8:31     ` Kay Sievers
2010-07-15  8:36       ` Andrew Morton
2010-07-15  8:51         ` Kay Sievers
2010-07-23 12:40   ` Greg KH

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=20100715170216.GA21592@suse.de \
    --to=gregkh@suse.de \
    --cc=James.Bottomley@suse.de \
    --cc=a.p.zijlstra@chello.nl \
    --cc=airlied@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=axboe@kernel.dk \
    --cc=davem@davemloft.net \
    --cc=dgilbert@interlog.com \
    --cc=dhowells@redhat.com \
    --cc=ebiederm@xmission.com \
    --cc=greg@kroah.com \
    --cc=kay.sievers@vrfy.org \
    --cc=konrad@kernel.org \
    --cc=kuznet@ms2.inr.ac.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=perex@perex.cz \
    --cc=randy.dunlap@oracle.com \
    --cc=shemminger@vyatta.com \
    --cc=stern@rowland.harvard.edu \
    --cc=tiwai@suse.de \
    --cc=tj@kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).