aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2024-04-29 15:45:56 -0400
committerColin Walters <walters@verbum.org>2024-04-29 15:49:04 -0400
commita974a852278ea5c3a835d4930277025bd4e33675 (patch)
tree8cb887cff35fe7c80ca09ca04a4e33704d201867
parent926b6077333554924756ba648c9df38c803c48bc (diff)
downloadutil-linux-a974a852278ea5c3a835d4930277025bd4e33675.tar.gz
losetup.8: Clarify --direct-io
See e.g. https://github.com/containers/bootc/pull/375#issuecomment-1981109022 The phrasing here was in my opinion technically correct but quite confusing and easy to misunderstand. Let's be very clear: - The default is *off* - You can turn it on in two ways - You can also explicitly turn it off Signed-off-by: Colin Walters <walters@verbum.org>
-rw-r--r--sys-utils/losetup.8.adoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/losetup.8.adoc b/sys-utils/losetup.8.adoc
index 0d4ad74a98..9ea9451ce0 100644
--- a/sys-utils/losetup.8.adoc
+++ b/sys-utils/losetup.8.adoc
@@ -93,7 +93,7 @@ Force the kernel to scan the partition table on a newly created loop device. Not
Set up a read-only loop device.
*--direct-io*[**=on**|*off*]::
-Enable or disable direct I/O for the backing file. The optional argument can be either *on* or *off*. If the optional argument is omitted, it defaults to *on*.
+Enable or disable direct I/O for the backing file. The default is *off*. Specifying either *--direct-io* or *--direct-io=on* will enable it. But, *--direct-io=off* can be provided to explicitly turn it off.
*-v*, *--verbose*::
Verbose mode.