From nobody Wed Jan 24 22:03:58 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TKyfS4gmwz58pGF; Wed, 24 Jan 2024 22:04:16 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TKyfS17Rsz4ZFL; Wed, 24 Jan 2024 22:04:16 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-x102a.google.com with SMTP id 98e67ed59e1d1-2906dffd8ddso3716491a91.3; Wed, 24 Jan 2024 14:04:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706133854; x=1706738654; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=kuXdNwfY7z6e4OVadjn0QTtO8oZYe0OiOgkVLtaaDE8=; b=LNKNWxty/KDJ5L+Bs9FJDkyFDn2tRWIFXWeGvHTtjd1kR6qDziaKEyjf/JwJO8RgIR u1TXrEPAgjsTXpyX/etKrvprune+l3AoMOosyHrHVDHxfT2P7yqtygxqL/c6T56So6Fd n8ux3+FwY2JqgXGna1rMhkN0BXgvhn/qbJ9TmerP6ey5QQ7oqYHxvZbhWiPD+XG4+dQD 8jYGL7rT0vJIQAPFQUEWLTGGZpSUL8IfrI8Mg8OjT8eCM6flZ69tj1lAtC9I4o4jyrGg eS0fkMjNn9s0Z2v1neb7S/Iz/XyCgTwms3LBAE+cKJnarlAo6yP1tR2aY7DUpkXD+AaE NWUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706133854; x=1706738654; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kuXdNwfY7z6e4OVadjn0QTtO8oZYe0OiOgkVLtaaDE8=; b=v3b33GJ5EH4vra+iuy0E9PP6HD6jV3Ko8Z7jbW5G6EnSp4QMP85mNNAfh+tAurc1MO gdcSP0ZhsXY5sRNjfBXAMxG/Gd80CGPxB5TZe3IC4jULCidCl3WK83rGcNlz5Lw6fv4W JApSIRo0h2RWOI+xTfp9vA+TSSX4mnYqeJks//NDv0kuGckBvKJcEncldXMS1Nj7bewa HvVXmyMqMDkiW+p811tNErCC42AhQKOnY28v9w5xSUirReEOTiOGxZN5EqBPMXVm4FLI 4UYlzjf8NpEULA0y8iloHZf1OQdqIyCTt3fqra3HXjbdAJh/CIt5d76OIPmvhggpcfq8 rUIQ== X-Gm-Message-State: AOJu0YxJV0IyHyFhNhcvXrwH090lf8KRIw1gNTmARibcLwQ5yaOX9bCB lU1gkGc4GMZZ7emUhIJwXMlpGBGXW6sRax8hGAHe5bMmDBR1gy9QoYhQPRcMZvWBWVUWqHjSib3 XfCrmP2oavDASXDNKwgCSArvqTmc0QBw= X-Google-Smtp-Source: AGHT+IFUmpyU92w7nf/FjJP7SbiJXcUh02+xKTwLd8V1kIzdd6eGCPWH/AOTkUsJVS14hd3ATbln1lHm+bFp5m05dHA= X-Received: by 2002:a17:90a:5895:b0:290:1f0c:b742 with SMTP id j21-20020a17090a589500b002901f0cb742mr24549pji.28.1706133853693; Wed, 24 Jan 2024 14:04:13 -0800 (PST) List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 References: <202401241956.40OJuD8e023568@gitrepo.freebsd.org> In-Reply-To: <202401241956.40OJuD8e023568@gitrepo.freebsd.org> From: Rick Macklem Date: Wed, 24 Jan 2024 14:03:58 -0800 Message-ID: Subject: Re: git: 54d31cfb2789 - main - mount: document atime option To: Ed Maste Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4TKyfS17Rsz4ZFL X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] On Wed, Jan 24, 2024 at 11:56=E2=80=AFAM Ed Maste wrot= e: > > CAUTION: This email originated from outside of the University of Guelph. = Do not click links or open attachments unless you recognize the sender and = know the content is safe. If in doubt, forward suspicious emails to IThelp@= uoguelph.ca. > > > The branch main has been updated by emaste: > > URL: https://cgit.FreeBSD.org/src/commit/?id=3D54d31cfb278982ff8c2af97a13= e40b1a3ebd838e > > commit 54d31cfb278982ff8c2af97a13e40b1a3ebd838e > Author: Ed Maste > AuthorDate: 2024-01-24 16:26:23 +0000 > Commit: Ed Maste > CommitDate: 2024-01-24 19:55:54 +0000 > > mount: document atime option > > atime is enabled by default, but may be specified explicitly so that = any > future change in the default would not have an effect on a given moun= t. > > Reviewed by: olce, rgrimes > Sponsored by: The FreeBSD Foundation > Differential Revision: https://reviews.freebsd.org/D43580 > --- > sbin/mount/mount.8 | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/sbin/mount/mount.8 b/sbin/mount/mount.8 > index 883e0bb5caf0..e8e604ba4088 100644 > --- a/sbin/mount/mount.8 > +++ b/sbin/mount/mount.8 > @@ -25,7 +25,7 @@ > .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY = OF > .\" SUCH DAMAGE. > .\" > -.Dd January 15, 2024 > +.Dd January 24, 2024 > .Dt MOUNT 8 > .Os > .Sh NAME > @@ -155,6 +155,9 @@ For this reason, the > .Cm async > flag should be used sparingly, and only when some data recovery > mechanism is present. > +.It Cm atime > +Update the file access time when reading from a file. > +This is the default. I'll note that, for an NFS mount, atime is not implemented. I found out recently when Mike Karels asked. The NFS client does not do a Setattr/atime upon every read from the buffer cache. As such, the behaviour w.r.t. atime is largely undefined (and ahs been for decades) and depends on the NFS server's file system configuration. (I don't know if a "works for most file systems, but not NFS" is needed her= e? rick > .It Cm automounted > This flag indicates that the file system was mounted by > .Xr automountd 8 .