From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f54.google.com ([74.125.82.54]:34893 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751441AbcGRQP7 (ORCPT ); Mon, 18 Jul 2016 12:15:59 -0400 Received: by mail-wm0-f54.google.com with SMTP id f65so109747117wmi.0 for ; Mon, 18 Jul 2016 09:15:58 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Alex Richman Date: Mon, 18 Jul 2016 17:15:17 +0100 Message-ID: Subject: Re: Fuse fgetattr() Not Being Called By fstat() To: Stef Bon , miklos@szeredi.hu Cc: "linux-fsdevel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hi Stef, Thanks for the reply. I think you might be right about it not being implemented - I did a little googling and found some _old_ (2007) threads about adding it: https://lwn.net/Articles/251228/ http://lkml.iu.edu/hypermail/linux/kernel/0710.3/0183.html It looks like those patches never went anywhere for various reasons, and fgetattr isn't in the kernel, but libfuse does have the interfaces and the FUSE_GETATTR_FH flag is mentioned in both the kernel and libfuse? I've added Miklos, who was the creator of those threads and I believe a maintainer of libfuse. Hope you don't mind the email Miklos, maybe you could shed some light on this? :) Cheers, - Alex. On 18 July 2016 at 14:17, Stef Bon wrote: > Hi, > > as far as I can see is that the fgetattr is not implemented yet. > The flag FUSE_GETATTR_FH has to be set. > I've been looking to the page you've written, and I do not know why > this is not set, the file has to be set. > > I will look into this a bit deeper. > Stef