GNU bug report logs - #35494
[PATCH] file-systems: Support the 'rel-atime' flag.

Previous Next

Package: guix-patches;

Reported by: Danny Milosavljevic <dannym <at> scratchpost.org>

Date: Mon, 29 Apr 2019 18:57:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 35494 <at> debbugs.gnu.org
Subject: [bug#35494] [PATCH] file-systems: Support the 'rel-atime' flag.
Date: Mon, 29 Apr 2019 21:23:45 +0200
[Message part 1 (text/plain, inline)]
Danny,

Danny Milosavljevic wrote:
> * guix/build/syscalls.scm (MS_RELATIME): New variable.
> * gnu/build/file-systems.scm (mount-flags->bit-mask): Support 
> 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 
> established.
>  This is a list of symbols denoting mount flags.  Recognized 
>  flags
>  include @code{read-only}, @code{bind-mount}, @code{no-dev} 
>  (disallow
>  access to special files), @code{no-suid} (ignore setuid and 
>  setgid
> -bits), @code{no-atime} (do not update file access times), and 
> @code{no-exec}
> -(disallow program execution).  @xref{Mount-Unmount-Remount,,, 
> 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 
also ‘lazytime’ which does the same thing, only slightly less so 
:-)

(How about adding that, too?)

MHO: since we're adding a hyphen and not blindly following 
upstream already, I think the symbol itself should be 
‘relative-atime’.  Abbrevs r meh.

Kind regards,

T G-R
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 6 years and 109 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.