Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp522888pxa; Wed, 12 Aug 2020 07:47:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3n9blZqj2ezLdxvCy18D/68xutXbEzMpqfo+zX6e9C/Y2StUg79opBbpqPxhyCw7Pu2l0 X-Received: by 2002:a17:906:2e09:: with SMTP id n9mr183921eji.0.1597243675870; Wed, 12 Aug 2020 07:47:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597243675; cv=none; d=google.com; s=arc-20160816; b=VZYICiuRQjbk4SkEvfyFxMnG3Ceni8gipC7khAMSnJdbY91MBIwhAGFuKhaWtZHMwG ShNyr9uaH3KtrZJOpVmfh5A+irY6ZA7ATVKdhkSi9IVt54956kl9iAZtJ4O7NCalXjQ1 Znb1Moa0UC3x8vWP0pyftcv4FyBZ7Q09z4VelsyAg9spjJyt6Z+5EpMd+EHIxFxZufS/ 6h0QB/AwNPAzozdle7vbQWyHx0MI4Wa750OYvc0bYzV3mmUPZnM/abcZH1uKLfnQLI/n mjTzCfCjSGBbg0U5+GSASREDkPSyVtMTBghwmhcoHEBpIWQYYA7ccZmi5SiXsdoaffWo V2gA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=CevgO8y+bID+0RAL78i6xuCLe1DAtuhsuxp9oVmqPQU=; b=ujnR+fUAF4H0QmLVZ8AOwLIPwmKVnmlOolX+Y1TXGeFwpuwV5EgWyra+U7mYnkmLe0 cpZSxOmbPD4QtzGnTJyahBb91MlJ1+jw3VcyRhNS1kGZx8R1wJDXnbbElsjm3bZ3Bh6n 0c6EWoksUlimvWo8XMh+SoKjAoh9LZb1nECU+476aqwfqQvWYGLD5T9aQOWr917Kpy4S adhZFCTrD1haZ3TRYOduaMQOIadN9LpWp6eA/x4u+RHfM10h8CfKMyrdwfAECEJOBaGO cwcmpEzveDd0Q+pu5f1e74cWoeeuG5YI/MuafX7mI0+4x0WxjpkZzq7dYDxHV7ConjW+ JLqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=VAqCelzN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z70si1429127ede.247.2020.08.12.07.47.31; Wed, 12 Aug 2020 07:47:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=VAqCelzN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726576AbgHLOqe (ORCPT + 99 others); Wed, 12 Aug 2020 10:46:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726488AbgHLOqd (ORCPT ); Wed, 12 Aug 2020 10:46:33 -0400 Received: from mail-ej1-x643.google.com (mail-ej1-x643.google.com [IPv6:2a00:1450:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2DB18C061384 for ; Wed, 12 Aug 2020 07:46:33 -0700 (PDT) Received: by mail-ej1-x643.google.com with SMTP id kq25so2559693ejb.3 for ; Wed, 12 Aug 2020 07:46:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CevgO8y+bID+0RAL78i6xuCLe1DAtuhsuxp9oVmqPQU=; b=VAqCelzNyjnT6iNu6JL0OmE0MRSdkKZhVA4vV7FxA77mfestyhafmSBAI3sD50miSZ J5esPSbvoNSwivwgD7HrxmmozNQhTCw6laCyOnzMciZMuFOjZbZpT6M/JpF1foP9AZlE CTt6UyxNn0t4maELRb8vFmnciOaAi9XeCYAX0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CevgO8y+bID+0RAL78i6xuCLe1DAtuhsuxp9oVmqPQU=; b=GxaPjR3wsG6KTHz9+leLULR3QkV2TJPaHcWxXW3CLjK9Mn1paqVvfMNEf2qipu/ceu Lbzh5S8qK/etkPoq1m5bxw68qCK32LW0EdOzBFQG2y/2oYDty5B/OJQlZlEJtR9ggnzO 4eRbeNvuZ36bmA+bDa7UPLHi/zcO56zw2CbSAIqZbYuoOK2mVQ6cPS3O0s3IkE01DD/+ sx2LwkxGvPM55KgnxKCd/S9sRN4igU+YDYWAE2r33P2s1x/zq3csRYBDkxNfmY2XqTB9 1SM81CE6LAX1lAtm43ktNbGWlm6XvceY29u+ITdhrQWT4JXEvXh7tesf2g/iwDzJP4MM p8iA== X-Gm-Message-State: AOAM53367S9d0C1G1P3VCdlPbHXFwnV6p13EfKk3ptTket8ROdXQdULZ 8Omre4ieKgMlCr3Gt/iSBZhr6BUjHIhXSAZTF3P1Lw== X-Received: by 2002:a17:906:4aca:: with SMTP id u10mr138835ejt.320.1597243591705; Wed, 12 Aug 2020 07:46:31 -0700 (PDT) MIME-Version: 1.0 References: <5C8E0FA8-274E-4B56-9B5A-88E768D01F3A@amacapital.net> <20200812143957.GQ1236603@ZenIV.linux.org.uk> In-Reply-To: <20200812143957.GQ1236603@ZenIV.linux.org.uk> From: Miklos Szeredi Date: Wed, 12 Aug 2020 16:46:20 +0200 Message-ID: Subject: Re: file metadata via fs API (was: [GIT PULL] Filesystem Information) To: Al Viro Cc: Linus Torvalds , Jann Horn , Casey Schaufler , Andy Lutomirski , linux-fsdevel , David Howells , Karel Zak , Jeff Layton , Miklos Szeredi , Nicolas Dichtel , Christian Brauner , Lennart Poettering , Linux API , Ian Kent , LSM , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 12, 2020 at 4:40 PM Al Viro wrote: > > On Wed, Aug 12, 2020 at 09:23:23AM +0200, Miklos Szeredi wrote: > > > Anyway, starting with just introducing the alt namespace without > > unification seems to be a good first step. If that turns out to be > > workable, we can revisit unification later. > > Start with coming up with answers to the questions on semantics > upthread. To spare you the joy of digging through the branches > of that thread, how's that for starters? > > "Can those suckers be passed to > ...at() as starting points? No. > Can they be bound in namespace? No. > Can something be bound *on* them? No. > What do they have for inodes > and what maintains their inumbers (and st_dev, while we are at > it)? Irrelevant. Can be some anon dev + shared inode. The only attribute of an attribute that I can think of that makes sense would be st_size, but even that is probably unimportant. > Can _they_ have secondaries like that (sensu Swift)? Reference? > Is that a flat space, or can they be directories?" Yes it has a directory tree. But you can't mkdir, rename, link, symlink, etc on anything in there. Thanks, Miklos