Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261294AbVDDRSJ (ORCPT ); Mon, 4 Apr 2005 13:18:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261300AbVDDRSJ (ORCPT ); Mon, 4 Apr 2005 13:18:09 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:44237 "EHLO pentafluge.infradead.org") by vger.kernel.org with ESMTP id S261294AbVDDRSF (ORCPT ); Mon, 4 Apr 2005 13:18:05 -0400 Subject: Re: [PATCH] configfs, a filesystem for userspace-driven kernel object configuration From: Arjan van de Ven To: Joel Becker Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Andrew Morton , Greg KH , Patrick Mochel , viro@zenii.uk.linux.org In-Reply-To: <20050403195728.GH31163@ca-server1.us.oracle.com> References: <20050403195728.GH31163@ca-server1.us.oracle.com> Content-Type: text/plain Date: Mon, 04 Apr 2005 19:17:59 +0200 Message-Id: <1112635079.6270.68.camel@laptopd505.fenrus.org> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 (2.0.4-2) Content-Transfer-Encoding: 7bit X-Spam-Score: 3.7 (+++) X-Spam-Report: SpamAssassin version 2.63 on pentafluge.infradead.org summary: Content analysis details: (3.7 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.1 RCVD_IN_DSBL RBL: Received via a relay in list.dsbl.org [] 2.5 RCVD_IN_DYNABLOCK RBL: Sent directly from dynamic IP address [80.57.133.107 listed in dnsbl.sorbs.net] 0.1 RCVD_IN_SORBS RBL: SORBS: sender is listed in SORBS [80.57.133.107 listed in dnsbl.sorbs.net] X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 884 Lines: 19 On Sun, 2005-04-03 at 12:57 -0700, Joel Becker wrote: > Folks, > I humbly submit configfs. With configfs, a configfs > config_item is created via an explicit userspace operation: mkdir(2). > It is destroyed via rmdir(2). The attributes appear at mkdir(2) time, > and can be read or modified via read(2) and write(2). readdir(3) > queries the list of items and/or attributes. > The lifetime of the filesystem representation is completely > driven by userspace. The lifetime of the objects themselves are managed > by a kref, but at rmdir(2) time they disappear from the filesystem. does that mean you rmdir a non-empty directory ?? - 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/