From nobody Fri Apr 24 02:15:04 2026 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 4g1xPN4y7Cz6bdWr for ; Fri, 24 Apr 2026 02:15:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4g1xPN4Cnxz3ZVR for ; Fri, 24 Apr 2026 02:15:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1776996904; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DY6qrhp3tvxxU2i0JwZh9HMMz6WcGUL4MIguTFdCF7g=; b=MfwSFTuhUgmMNUUCq+8Razmw8UddKHF8WmP2dWhDj88T/Rlb0OcZC/6CJm5WMjSObDNSrd kV2K6dwn4sRvuVWSXf9rDXgJMOzSzlbEQpSFi3n6nlaMks3hOij2Sp4vsMXSaMIuLlvDfT Oee9ljUyIjtJ9TqGV8GtMU+WNYENpjCUaxUcDp4dcr3Ft/T92fg34YktFyutQxceKmRxVR xY3w2lYRz0LruhCXRJp7Jl7RS8C4jiO80yB61Nw4pelazMyWSmWmMiFHK3HdeBBsx//Nx5 HvfFYgfc3AJEKy5c9pSZxZgc2epLmRsJnbqq9Uuk8qVd8JMYq7L09pNhN4iswA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1776996904; a=rsa-sha256; cv=none; b=tZ8eKV67B3/dIC2iEOf4j7QQSg4STodsGIs9xu44wZBctYE2MJkungPqkEFscS3vXaQENk /PUMR7RUKkv6+4ejgt8fSHFbYaekhlVK49+bocuUJNuZ4COJvOKNfFjxVNfGgvcC5XkLms 4NZL4tFNaqgCLqzzfE3a5t1KG11P1QXgzRzqD3Gy+s+CK7yR7KrAZ4XOdqWfplKBcaHlBa xkQPQks7yu+mm3HhQmcEzbH2z8KbcTCcU3XgDOxCzLOCQAmhuqOp7HuLBaujeexrl0MCwm /m3x/ytJYq4ueZpbWI00Eyk1tFKsH6FQWDCutw7EHqJrBulvolBi6IQCsma89Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1776996904; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DY6qrhp3tvxxU2i0JwZh9HMMz6WcGUL4MIguTFdCF7g=; b=SOOGNpTMxGq2k5/0PveKaUgJdaK1JxPzsMVE11Bnjx5IS2YOWDLLK9+4SVlB0/s205Nvee 3EX6VEtg41+OTMKZUF1WQ4Yq8V7MnM07aWQchHNRC6sHyPPu/vwTMy6asNo09Nilh/VARl 1y6xEGp2owYGgejgXjnuIXLNSRSC+4fC2594C5lZJ1t1DDc1vnobIWCMx4YCxRM3enKery yOGsnuhQEEFrxmp63gh++koNdfuzUhWNYk2ns6T+3t7YqeDdZznEA3TA/sse4ofxMno1HG /HVh3mTXNj75ZZmza6q+2s3VEfcgeeGNx5tzetUCSciqbieEkbeJF4oOYM77TA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4g1xPN3p3QzkFW for ; Fri, 24 Apr 2026 02:15:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 31574 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 24 Apr 2026 02:15:04 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Greg Lehey Subject: git: 32b0dfb32659 - main - Explain relationship between file storage size and EOF. 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: grog X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 32b0dfb326593b8dae31cc2bdc1e2d08ea70e9d7 Auto-Submitted: auto-generated Date: Fri, 24 Apr 2026 02:15:04 +0000 Message-Id: <69ead228.31574.2f9cec5c@gitrepo.freebsd.org> The branch main has been updated by grog: URL: https://cgit.FreeBSD.org/src/commit/?id=32b0dfb326593b8dae31cc2bdc1e2d08ea70e9d7 commit 32b0dfb326593b8dae31cc2bdc1e2d08ea70e9d7 Author: Greg Lehey AuthorDate: 2026-04-24 02:14:20 +0000 Commit: Greg Lehey CommitDate: 2026-04-24 02:14:20 +0000 Explain relationship between file storage size and EOF. --- usr.bin/du/du.1 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/usr.bin/du/du.1 b/usr.bin/du/du.1 index 3b330de7bc5b..3b5c5f4df7bb 100644 --- a/usr.bin/du/du.1 +++ b/usr.bin/du/du.1 @@ -25,7 +25,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd April 15, 2026 +.Dd July 16, 2025 .Dt DU 1 .Os .Sh NAME @@ -51,6 +51,14 @@ argument. If no file is specified, the block usage of the hierarchy rooted in the current directory is displayed. .Pp +Normally block usage closely resembles the file size, but this is +not always the case. +For files with an incomplete last block, the size will be larger. +The size includes any metadata such as indirect blocks, though not the +inode. +For sparse files or file systems that defer writing data to disk the +count will be less than the file size. +.Pp The options are as follows: .Bl -tag -width indent .It Fl -libxo @@ -225,8 +233,8 @@ Also display a grand total at the end: .Xr chflags 2 , .Xr fts 3 , .Xr libxo 3 , -.Xr symlink 7 , .Xr xo_options 7 , +.Xr symlink 7 , .Xr quot 8 .Sh STANDARDS The