Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 2025 08:10:17 -0600
From:      Alan Somers <asomers@freebsd.org>
To:        Rick Macklem <rick.macklem@gmail.com>
Cc:        Olivier Certner <olce@freebsd.org>, freebsd-current@freebsd.org
Subject:   Re: RFC: checking file systems support UF_HIDDEN, UF_SYSTEM
Message-ID:  <CAOtMX2gz1kjv_OGD57zaHc3Qq3Fi--uB00_c18VREToKswzkkA@mail.gmail.com>
In-Reply-To: <CAM5tNy73MQQ0EET772j1HuZuG0QYrz9tisYis0HDKmwSmvk13w@mail.gmail.com>
References:  <CAM5tNy5eoY5f-fo9BKc4v34XKXF6%2B6Ae7Zpq=FH7owaSRYSHmw@mail.gmail.com> <CAOtMX2jVdbtGb=%2BCEAbaWF2oiSTD=V=js2HOjQHnpJpCB1i2zw@mail.gmail.com> <2417127.THHZn3L5Ee@ravel> <CAM5tNy73MQQ0EET772j1HuZuG0QYrz9tisYis0HDKmwSmvk13w@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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.

[-- Attachment #2 --]
<div dir="ltr"><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Thu, Jul 3, 2025 at 7:25 AM Rick Macklem &lt;<a href="mailto:rick.macklem@gmail.com">rick.macklem@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, Jul 3, 2025 at 1:22 AM Olivier Certner &lt;<a href="mailto:olce@freebsd.org" target="_blank">olce@freebsd.org</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi Alan,<br>
&gt;<br>
&gt; &gt; The strcmp method isn&#39;t very good, because it doesn&#39;t account for the<br>
&gt; &gt; possibility that some filesystems may only support the flags conditionally,<br>
&gt; &gt; depending on formatting options. I vote for method 1.<br>
&gt;<br>
&gt; Method 1 does not solve this problem either, as VFCF_* flags are per filesystem *type*, not mounts.<br>
That is true. For file systems other than fuse, the property seems to<br>
apply to all file systems<br>
of the type. I don&#39;t know what fuse does?<br>
- Does fuse support these at all? (They are not supported by Linux, as<br>
far as I know.)
<br></blockquote><div><br></div><div>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. <br></div></div></div>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2gz1kjv_OGD57zaHc3Qq3Fi--uB00_c18VREToKswzkkA>