Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Sep 2025 20:40:34 +0100
From:      Jessica Clarke <jrtc27@freebsd.org>
To:        Warner Losh <imp@freebsd.org>
Cc:        "src-committers@freebsd.org" <src-committers@FreeBSD.org>, "dev-commits-src-all@freebsd.org" <dev-commits-src-all@FreeBSD.org>, "dev-commits-src-main@freebsd.org" <dev-commits-src-main@FreeBSD.org>
Subject:   Re: git: 3ed0cdf7de79 - main - Update vmimage.subr
Message-ID:  <CACE4D75-E639-493E-81D5-755FA5728A48@freebsd.org>
In-Reply-To: <202509051842.585IgIXp096270@gitrepo.freebsd.org>
References:  <202509051842.585IgIXp096270@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5 Sep 2025, at 19:42, Warner Losh <imp@freebsd.org> wrote:
>=20
> The branch main has been updated by imp:
>=20
> URL: =
https://cgit.FreeBSD.org/src/commit/?id=3D3ed0cdf7de79fc0f50f57e75cdb9ae17=
8ab0e74c
>=20
> commit 3ed0cdf7de79fc0f50f57e75cdb9ae178ab0e74c
> Author:     Unicorn9x <unicorn9x@yahoo.com.vn>
> AuthorDate: 2025-09-01 11:30:48 +0000
> Commit:     Warner Losh <imp@FreeBSD.org>
> CommitDate: 2025-09-05 18:42:21 +0000
>=20
>    Update vmimage.subr
>=20
>    This "noatime" tweak, reduced the OPNsense constant 50kb - 80kb =
disk writes that wear down the SSD / NVME.
>=20
>    Signed-off-by: Unicorn9x
>    Reviewed by: imp
>    Pull Request: https://github.com/freebsd/freebsd-src/pull/1834
> ---
> release/tools/vmimage.subr | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>=20
> diff --git a/release/tools/vmimage.subr b/release/tools/vmimage.subr
> index 156987e33457..20ffe3b2dac7 100644
> --- a/release/tools/vmimage.subr
> +++ b/release/tools/vmimage.subr
> @@ -82,7 +82,7 @@ vm_install_base() {
> echo '# Custom /etc/fstab for FreeBSD VM images' \
> > ${DESTDIR}/etc/fstab
> if [ "${VMFS}" !=3D zfs ]; then
> - echo "/dev/${ROOTLABEL}/rootfs   /       ${VMFS}   rw      1       =
1" \
> + echo "/dev/${ROOTLABEL}/rootfs   /       ${VMFS}   rw,noatime      1 =
      1" \

Do we really want to be disabling atime for every UFS VM image we
produce? With ZFS we can do that because /var/mail is separate, but
AFAIK there is no separate /var/mail in the UFS images?

Jessica

> >> ${DESTDIR}/etc/fstab
> fi
> if [ -z "${NOSWAP}" ]; then




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACE4D75-E639-493E-81D5-755FA5728A48>