Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933741Ab0GOQdx (ORCPT ); Thu, 15 Jul 2010 12:33:53 -0400 Received: from smtp.infotech.no ([82.134.31.41]:56826 "EHLO smtp.infotech.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933695Ab0GOQdw (ORCPT ); Thu, 15 Jul 2010 12:33:52 -0400 X-Greylist: delayed 487 seconds by postgrey-1.27 at vger.kernel.org; Thu, 15 Jul 2010 12:33:51 EDT Message-ID: <4C3F3641.8020802@interlog.com> Date: Thu, 15 Jul 2010 12:24:33 -0400 From: Douglas Gilbert Reply-To: dgilbert@interlog.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10) Gecko/20100527 Thunderbird/3.0.5 MIME-Version: 1.0 To: Konrad Rzeszutek Wilk CC: "Eric W. Biederman" , Andrew Morton , Greg Kroah-Hartman , 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 Subject: Re: [PATCH] driver core: remove CONFIG_SYSFS_DEPRECATED References: <20100709185450.GA29473@kroah.com> <20100714163852.b3c09930.akpm@linux-foundation.org> <201007150929.03916.konrad@kernel.org> In-Reply-To: <201007150929.03916.konrad@kernel.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1305 Lines: 37 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. Happily most of my tools are based on an ioctl! SG_IO was a suggestion from Joerg Schilling and has now found its way into most block devices. Now it has a new lease of life in the bsg driver. Doug Gilbert -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/