Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759240AbXKGOmf (ORCPT ); Wed, 7 Nov 2007 09:42:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758431AbXKGOm2 (ORCPT ); Wed, 7 Nov 2007 09:42:28 -0500 Received: from moutng.kundenserver.de ([212.227.126.183]:60640 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758263AbXKGOm1 (ORCPT ); Wed, 7 Nov 2007 09:42:27 -0500 To: Jan Kara Cc: Olaf Dietsche , linux-kernel@vger.kernel.org Subject: Re: [PATCH] 2.6.23: Filesystem capabilities 0.17 References: <871wbhc0zj.fsf@olafdietsche.de> <20071031170853.GD28809@atrey.karlin.mff.cuni.cz> <87tzo5925v.fsf@olafdietsche.de> <20071101215424.GA27788@duck.suse.cz> <87fxzp8v2c.fsf@olafdietsche.de> <20071105110925.GC9561@duck.suse.cz> From: Olaf Dietsche Date: Wed, 07 Nov 2007 15:42:20 +0100 In-Reply-To: <20071105110925.GC9561@duck.suse.cz> (Jan Kara's message of "Mon\, 5 Nov 2007 12\:09\:26 +0100") Message-ID: <87r6j26rsj.fsf@olafdietsche.de> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Provags-ID: V01U2FsdGVkX1+k+2DIm6JhOL/huMXYuiB7EjNTsPA6an7p9p7 A2S7V4mvzhZCOT57uv3XPNyuO+UBQtz2VQsVEh0Ea7zjkTWZ4q 7F4nSXvUxu7liBT8S0E+Q== Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1217 Lines: 26 Jan Kara writes: > On Thu 01-11-07 23:22:51, Olaf Dietsche wrote: >> >> The bits are stored in a sparse file named /.capabilities in the >> directory of the mount point, where the corresponding executable >> lives. The inode number of the file is the index into this file. > Thanks for explanation. I guess I should warn you a bit :) Quota stores > it's data (which are in a certain sence filesystem metadata) in regular > files and believe me it brings some unexpected complexity. Especially > avoiding deadlocks with journaled filesystems was quite complex for quotas > (you cannot call filesystem write function when a transaction is already > started or deadlocks can happen). Thanks for this hint. I will investigate this, if time permits. To be honest, I use and test with ext2 exclusively. > I guess with capabilities you need to write to the file only in some > special situations but still you could have problems with that. Regards, Olaf. - 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/