Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933932Ab0KPHQQ (ORCPT ); Tue, 16 Nov 2010 02:16:16 -0500 Received: from mail-iw0-f174.google.com ([209.85.214.174]:43603 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759406Ab0KPHQP (ORCPT ); Tue, 16 Nov 2010 02:16:15 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=ART7N01X8R9uqfLPi0d1R/88J+VngeQneZiEvZnD0D4yXcmG9L6Xe0TWSF7OqSyZi4 /2824td8CCUtbxhYIcPa1qLWtBTva6owm6lGpmPx0uD31C8BLCI83DnXfoCgK0+GXunW sYAwEnITLpxMClTM9nOH+z242dnz4ybu/CAPQ= MIME-Version: 1.0 In-Reply-To: <20101115221359.GA9530@kroah.com> References: <4CDA6CD4.3010308@panasas.com> <4CDAFE6E.7050200@vlnb.net> <4CDBBE80.40908@panasas.com> <4CDC56F9.9040601@vlnb.net> <20101112012315.GE17097@core.coreip.homeip.net> <4CDEC8D2.8080101@vlnb.net> <20101113235938.GA1827@kroah.com> <20101115184422.GA9566@kroah.com> <4CE19A94.8080504@vlnb.net> <20101115221359.GA9530@kroah.com> From: Bart Van Assche Date: Tue, 16 Nov 2010 08:15:54 +0100 X-Google-Sender-Auth: kcQ7DduANqK062gqUWmoL79__v0 Message-ID: Subject: Re: [PATCH 8/19]: SCST SYSFS interface implementation To: Greg KH Cc: Vladislav Bolkhovitin , Dmitry Torokhov , Boaz Harrosh , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, scst-devel , James Bottomley , Joe Eykholt Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1162 Lines: 28 On Mon, Nov 15, 2010 at 11:13 PM, Greg KH wrote: > [ ... ] > And use configfs for your configuration stuff, that's what it is there > for, and if it doesn't somehow work properly for you, please work with > the configfs developers to fix that up. Hello Greg, The reason why we use sysfs instead of configfs is that we do not only want to export kernel objects to user space but because we also want to allow configuration from user space. As far as I can see configfs has been designed to allow configuration from user space only and not for exporting kernel objects. A quote from Documentation/filesystems/configfs/configfs.txt: 12 [What is configfs?] 13 14 configfs is a ram-based filesystem that provides the converse of 15 sysfs's functionality. Where sysfs is a filesystem-based view of 16 kernel objects, configfs is a filesystem-based manager of kernel 17 objects, or config_items. Bart. -- 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/