On Thu, Mar 7, 2024 at 1:05 PM Jamie Landeg-Jones <ja...@catflap.org> wrote:

> Alexander Leidinger <alexan...@leidinger.net> wrote:
>
> > Hi,
> >
> > what is the reason why "nocache" is not displayed in the output of
> > "mount" for nullfs options?
>
> Good catch. I also notice that "hidden" is not shown either.
>
> I guess that as for some time, "nocache" was a "secret" option, no-one
> update "mount" to display it?
>

So a couple of things to know.

First, there's a list of known options. These are converted to a bitmask.
This is then decoded and reported by mount. The other strings are passed to
the filesystem directly. They decode it and do things, but they don't
export them (that I can find). I believe that's why they aren't reported
with 'mount'. There's a couple of other options in /etc/fstab that are
pseudo options too.

Warner

Reply via email to