Re: RFC: checking file systems support UF_HIDDEN, UF_SYSTEM

From: Rick Macklem <rick.macklem_at_gmail.com>
Date: Thu, 03 Jul 2025 13:24:54 UTC
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.)

Having said the above, I think Kostik's suggestion of a new pathconf variable
seems the best, since it will cover all current and future cases.

Thanks for the comments, rick

>
> Regards.
>
> --
> Olivier Certner