From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: [PATCH] driver core: remove CONFIG_SYSFS_DEPRECATED Date: Thu, 15 Jul 2010 10:02:16 -0700 Message-ID: <20100715170216.GA21592@suse.de> References: <20100709185450.GA29473@kroah.com> <20100714163852.b3c09930.akpm@linux-foundation.org> <201007150929.03916.konrad@kernel.org> <4C3F3641.8020802@interlog.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <4C3F3641.8020802@interlog.com> Sender: linux-scsi-owner@vger.kernel.org To: Douglas Gilbert Cc: Konrad Rzeszutek Wilk , "Eric W. Biederman" , Andrew Morton , Greg KH , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, alsa-devel@alsa-project.org, Jens Axboe , Stephen Hemminger , Kay Sievers , Alan Stern , "James E.J. Bottomley" , Alexey Kuznetsov , Randy Dunlap , Tejun Heo , "David S. Miller" , Jaroslav Kysela , Takashi Iwai , Ingo Molnar , Peter Zijlstra , David Howells , Dave Airlie List-Id: alsa-devel@alsa-project.org 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/.. 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