Re: RFC: checking file systems support UF_HIDDEN, UF_SYSTEM

From: Alan Somers <asomers_at_freebsd.org>
Date: Thu, 03 Jul 2025 14:10:17 UTC
On Thu, Jul 3, 2025 at 7:25 AM Rick Macklem <rick.macklem@gmail.com> wrote:

> On Thu, Jul 3, 2025 at 1:22 AM Olivier Certner <olce@freebsd.org> wrote:
> >
> > Hi Alan,
> >
> > > The strcmp method isn't very good, because it doesn't account for the
> > > possibility that some filesystems may only support the flags
> conditionally,
> > > depending on formatting options. I vote for method 1.
> >
> > Method 1 does not solve this problem either, as VFCF_* flags are per
> filesystem *type*, not mounts.
> That is true. For file systems other than fuse, the property seems to
> apply to all file systems
> of the type. I don't know what fuse does?
> - Does fuse support these at all? (They are not supported by Linux, as
> far as I know.)
>

fusefs does not currently support them and cannot, since there is no way to
set file flags on fusefs.  But a Romanian student, Claudiu Palincas, is
working on it.  So we should plan for fusefs to support them in the future.