git: bb6dfb08f061 - stable/14 - freebsd-update: Do not fsync
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Aug 2025 19:22:11 UTC
The branch stable/14 has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=bb6dfb08f0619b14ad9b68cca592db65b152c194 commit bb6dfb08f0619b14ad9b68cca592db65b152c194 Author: Dag-Erling Smørgrav <des@FreeBSD.org> AuthorDate: 2025-08-15 18:04:15 +0000 Commit: Dag-Erling Smørgrav <des@FreeBSD.org> CommitDate: 2025-08-27 18:49:58 +0000 freebsd-update: Do not fsync Fsyncing each file we install slows us down significantly and adds little to no safety. MFC after: 1 week PR: 287897 (cherry picked from commit 20f0996700a8e60780931e7fde65899040465f4e) --- usr.sbin/freebsd-update/freebsd-update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/freebsd-update/freebsd-update.sh b/usr.sbin/freebsd-update/freebsd-update.sh index f575f89bcf82..8ec380bd2f17 100644 --- a/usr.sbin/freebsd-update/freebsd-update.sh +++ b/usr.sbin/freebsd-update/freebsd-update.sh @@ -2952,7 +2952,7 @@ install_from_index () { if [ -z "${LINK}" ]; then # Create a file, without setting flags. gunzip < files/${HASH}.gz > ${HASH} - install -S -o ${OWNER} -g ${GROUP} \ + install -o ${OWNER} -g ${GROUP} \ -m ${PERM} ${HASH} ${BASEDIR}/${FPATH} rm ${HASH} else