Re: Reason why "nocache" option is not displayed in "mount"?

2024-03-11 Thread Konstantin Belousov
On Mon, Mar 11, 2024 at 09:03:38AM +0100, Alexander Leidinger wrote: > Am 2024-03-10 22:57, schrieb Konstantin Belousov: > > > We are already low on the free bits in the flags, even after expanding > > them > > to 64bit. More, there are useful common fs services continuously > > consuming > >

Re: Reason why "nocache" option is not displayed in "mount"?

2024-03-11 Thread Alexander Leidinger
Am 2024-03-10 22:57, schrieb Konstantin Belousov: We are already low on the free bits in the flags, even after expanding them to 64bit. More, there are useful common fs services continuously consuming that flags, e.g. the recent NFS TLS options. I object against using the flags for

Re: Reason why "nocache" option is not displayed in "mount"?

2024-03-10 Thread Konstantin Belousov
On Sun, Mar 10, 2024 at 09:50:51PM +, Kirk McKusick wrote: > > Date: Sun, 10 Mar 2024 19:21:54 +0200 > > From: Konstantin Belousov > > To: Kirk McKusick > > Cc: curr...@freebsd.org > > Subject: Re: Reason why "nocache" option is not displayed in &quo

Re: Reason why "nocache" option is not displayed in "mount"?

2024-03-10 Thread Kirk McKusick
> Date: Sun, 10 Mar 2024 19:21:54 +0200 > From: Konstantin Belousov > To: Kirk McKusick > Cc: curr...@freebsd.org > Subject: Re: Reason why "nocache" option is not displayed in "mount"? > > On Sun, Mar 10, 2024 at 01:53:05AM +, Kirk McKusick wro

Re: Reason why "nocache" option is not displayed in "mount"?

2024-03-10 Thread Konstantin Belousov
On Sun, Mar 10, 2024 at 01:53:05AM +, Kirk McKusick wrote: > The issue has to do with how flags are defined in mount.h. > Specifically there are the flags that are externally visible > (prefixed with MNT_) and those that are for internal use > (prefixed with MNTK_, the K standing for KERNEL).

Re: Reason why "nocache" option is not displayed in "mount"?

2024-03-09 Thread Mark Millard
Kirk McKusick wrote on Date: Sun, 10 Mar 2024 01:53:05 UTC : > The issue has to do with how flags are defined in mount.h. > Specifically there are the flags that are externally visible > (prefixed with MNT_) and those that are for internal use > (prefixed with MNTK_, the K standing for KERNEL).

Re: Reason why "nocache" option is not displayed in "mount"?

2024-03-09 Thread Kirk McKusick
The issue has to do with how flags are defined in mount.h. Specifically there are the flags that are externally visible (prefixed with MNT_) and those that are for internal use (prefixed with MNTK_, the K standing for KERNEL). If it is desirable to have MNTK_NULL_NOCACHE visible, then it should be

Re: Reason why "nocache" option is not displayed in "mount"?

2024-03-09 Thread Alexander Leidinger
Am 2024-03-09 15:27, schrieb Rick Macklem: On Sat, Mar 9, 2024 at 5:08 AM Alexander Leidinger wrote: Am 2024-03-09 06:07, schrieb Warner Losh: > On Thu, Mar 7, 2024 at 1:05 PM Jamie Landeg-Jones > wrote: > >> Alexander Leidinger wrote: >> >>> Hi, >>> >>> what is the reason why "nocache" is

Re: Reason why "nocache" option is not displayed in "mount"?

2024-03-09 Thread Rick Macklem
On Sat, Mar 9, 2024 at 5:08 AM Alexander Leidinger wrote: > > Am 2024-03-09 06:07, schrieb Warner Losh: > > > On Thu, Mar 7, 2024 at 1:05 PM Jamie Landeg-Jones > > wrote: > > > >> Alexander Leidinger wrote: > >> > >>> Hi, > >>> > >>> what is the reason why "nocache" is not displayed in the

Re: Reason why "nocache" option is not displayed in "mount"?

2024-03-09 Thread Alexander Leidinger
Am 2024-03-09 06:07, schrieb Warner Losh: On Thu, Mar 7, 2024 at 1:05 PM Jamie Landeg-Jones wrote: Alexander Leidinger 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.

Re: Reason why "nocache" option is not displayed in "mount"?

2024-03-08 Thread Warner Losh
On Thu, Mar 7, 2024 at 1:05 PM Jamie Landeg-Jones wrote: > Alexander Leidinger 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

Re: Reason why "nocache" option is not displayed in "mount"?

2024-03-07 Thread Jamie Landeg-Jones
Jamie Landeg-Jones wrote: > Good catch. I also notice that "hidden" is not shown either. Sorry, I meant mount option "ignore" not "hidden".

Re: Reason why "nocache" option is not displayed in "mount"?

2024-03-07 Thread Jamie Landeg-Jones
Alexander Leidinger 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

Re: Reason why "nocache" option is not displayed in "mount"?

2024-03-07 Thread Alexander Leidinger
Am 2024-03-07 14:59, schrieb Christos Chatzaras: what is the reason why "nocache" is not displayed in the output of "mount" for nullfs options? # grep packages /etc/fstab.commit_leidinger_net /shared/ports/packages /space/jails/commit.leidinger.net/shared/ports/packages

Re: Reason why "nocache" option is not displayed in "mount"?

2024-03-07 Thread Christos Chatzaras
> what is the reason why "nocache" is not displayed in the output of "mount" > for nullfs options? > > # grep packages /etc/fstab.commit_leidinger_net > /shared/ports/packages > /space/jails/commit.leidinger.net/shared/ports/packages nullfs > rw,noatime,nocache 0 0 >

Reason why "nocache" option is not displayed in "mount"?

2024-03-07 Thread Alexander Leidinger
Hi, what is the reason why "nocache" is not displayed in the output of "mount" for nullfs options? # grep packages /etc/fstab.commit_leidinger_net /shared/ports/packages /space/jails/commit.leidinger.net/shared/ports/packages nullfs rw,noatime,nocache 0 0 # mount |