unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Tobias Geerinckx-Rice <me@tobias.gr>
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: 35494@debbugs.gnu.org
Subject: [bug#35494] [PATCH] file-systems: Support the 'rel-atime' flag.
Date: Mon, 29 Apr 2019 21:23:45 +0200	[thread overview]
Message-ID: <871s1kvcni.fsf@nckx> (raw)
In-Reply-To: <20190429185610.14475-1-dannym@scratchpost.org>

[-- Attachment #1: Type: text/plain, Size: 1619 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

      reply	other threads:[~2019-04-29 19:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-29 18:56 [bug#35494] [PATCH] file-systems: Support the 'rel-atime' flag Danny Milosavljevic
2019-04-29 19:23 ` Tobias Geerinckx-Rice [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871s1kvcni.fsf@nckx \
    --to=me@tobias.gr \
    --cc=35494@debbugs.gnu.org \
    --cc=dannym@scratchpost.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).