From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:35478) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLBsh-0007pe-2a for guix-patches@gnu.org; Mon, 29 Apr 2019 15:24:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hLBsg-00058F-56 for guix-patches@gnu.org; Mon, 29 Apr 2019 15:24:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54461) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hLBsg-00058A-1T for guix-patches@gnu.org; Mon, 29 Apr 2019 15:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hLBsf-0005eo-Tm for guix-patches@gnu.org; Mon, 29 Apr 2019 15:24:01 -0400 Subject: [bug#35494] [PATCH] file-systems: Support the 'rel-atime' flag. Resent-Message-ID: From: Tobias Geerinckx-Rice Message-ID: <871s1kvcni.fsf@nckx> References: <20190429185610.14475-1-dannym@scratchpost.org> In-reply-to: <20190429185610.14475-1-dannym@scratchpost.org> Date: Mon, 29 Apr 2019 21:23:45 +0200 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Danny Milosavljevic Cc: 35494@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Danny, Danny Milosavljevic wrote: > * guix/build/syscalls.scm (MS_RELATIME): New variable. > * gnu/build/file-systems.scm (mount-flags->bit-mask): Support=20 > it. > * doc/guix.texi (File Systems): Document it. > --- > doc/guix.texi | 9 ++++++--- > gnu/build/file-systems.scm | 2 ++ > guix/build/syscalls.scm | 2 ++ > 3 files changed, 10 insertions(+), 3 deletions(-) > > diff --git a/doc/guix.texi b/doc/guix.texi > index fcee57d9cd..20c9b570c9 100644 > --- a/doc/guix.texi > +++ b/doc/guix.texi > @@ -10756,9 +10756,12 @@ corresponding device mapping=20 > established. > This is a list of symbols denoting mount flags. Recognized=20 > flags > include @code{read-only}, @code{bind-mount}, @code{no-dev}=20 > (disallow > access to special files), @code{no-suid} (ignore setuid and=20 > setgid > -bits), @code{no-atime} (do not update file access times), and=20 > @code{no-exec} > -(disallow program execution). @xref{Mount-Unmount-Remount,,,=20 > libc, The GNU C > -Library Reference Manual}, for more information on these flags. > +bits), @code{no-atime} (do not update file access times), > +@code{rel-atime} (update file access time minimally), and ^^^^^^^^^ That's a great way to explain it in 5 words, but note that there's=20 also =E2=80=98lazytime=E2=80=99 which does the same thing, only slightly le= ss so=20 :-) (How about adding that, too?) MHO: since we're adding a hyphen and not blindly following=20 upstream already, I think the symbol itself should be=20 =E2=80=98relative-atime=E2=80=99. Abbrevs r meh. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXMdPQQAKCRANsP+IT1Vt eVIlAQDyWSn8ndcW8bGQfDe/lwby6UebxPpHGVeqwYHcfYFhsgEA/WjB19Nw5RQt NAmk/JRIpk6jOWECa1nfn1RvNNnl+QY= =je61 -----END PGP SIGNATURE----- --=-=-=--