From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com ([209.132.183.28]:36926 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754487AbdC1Mkf (ORCPT ); Tue, 28 Mar 2017 08:40:35 -0400 From: David Howells In-Reply-To: References: <7a090a8e-7204-1b9b-8b31-e7a061b39f87@sandeen.net> <3791d155-b448-5257-d8b9-8a6f20e12180@sandeen.net> <22058.1490696551@warthog.procyon.org.uk> Subject: Re: [PATCH] xfs_io: changes to statx interface MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <23773.1490704285.1@warthog.procyon.org.uk> Date: Tue, 28 Mar 2017 13:31:25 +0100 Message-ID: <23774.1490704285@warthog.procyon.org.uk> Sender: linux-xfs-owner@vger.kernel.org List-ID: List-Id: xfs To: Amir Goldstein Cc: dhowells@redhat.com, Eric Sandeen , linux-xfs , Andreas Dilger , Christoph Hellwig , fsdevel Amir Goldstein wrote: > xfs_io -c "statx -c /dev/null" > > is what you want That doesn't produce any output. Did you mean: xfs_io -c "statx -c" /dev/null Further, this should work: warthog>xfs_io -c "statx -c" /dev/sda /dev/sda: Permission denied but doesn't. > See the output of 'file' command or the global var filetable. So I would have to make "-d dirfd" take an entry in the global var filetable rather than an actual fd number? David