Re: [RFC][PATCH 0/4] Enhanced file stat system call

From: David Howells
Date: Fri Nov 18 2016 - 08:49:38 EST


One Thousand Gnomes <gnomes@xxxxxxxxxxxxxxxxxxx> wrote:

> > Hmmm... Interesting question. Probably should. But you could be insane and
> > RAID an nbd and a local disk. Further, does NFS over a loopback device to
> > nfsd on the same machine qualify as root? What if that's exposing a local fs
> > on NBD? Perhaps I should drop 'REMOTE' for now. It sounds like something
> > that a GUI filemanager might find interesting, though.
>
> GUI file managers already try and guess some of this in order to decide
> whether to display icons off remote file systems.
>
> You could be insane but it's always going to be a hint and nothing more
> and if it can't be perfect then that just goes in the notes in the manual
> page.

I've dropped REMOTE, FABRICATED, KERNEL_API, NONUNIX_OWNERSHIP, HAS_ACL and
UNLISTED_DENTS for now. I'm keeping AUTOMOUNT as that seems fairly
straightforward - though I'm sure we can find someone to disagree! ;-)

David