From: Stephen Kitt <steve@sk2.org>
To: util-linux@vger.kernel.org
Cc: Stephen Kitt <steve@sk2.org>
Subject: [PATCH] losetup: restore -f/loopdev alternative
Date: Thu, 6 Jan 2022 11:03:07 +0100 [thread overview]
Message-ID: <20220106100307.3543758-1-steve@sk2.org> (raw)
-f and loopdev are exclusive; the old man page made this explicit, but
this was lost in the Asciidoc transition in commit 6d5b69483a58
("Asciidoc: Import sys-utils man pages, part 1").
This patch restores the lost pipe, so that the disjunction is
explicit:
losetup ... [--show] -f|loopdev file
^
Signed-off-by: Stephen Kitt <steve@sk2.org>
---
sys-utils/losetup.8.adoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys-utils/losetup.8.adoc b/sys-utils/losetup.8.adoc
index 2a2577f0d..52df95bd6 100644
--- a/sys-utils/losetup.8.adoc
+++ b/sys-utils/losetup.8.adoc
@@ -30,7 +30,7 @@ Detach all associated loop devices:
Set up a loop device:
-*losetup* [*-o* _offset_] [*--sizelimit* _size_] [*--sector-size* _size_] [*-Pr*] [*--show*] *-f* _loopdev file_
+*losetup* [*-o* _offset_] [*--sizelimit* _size_] [*--sector-size* _size_] [*-Pr*] [*--show*] *-f*|_loopdev file_
Resize a loop device:
base-commit: 22abf6df385b524acd78542fd8a3452ee1492002
--
2.30.2
next reply other threads:[~2022-01-06 10:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-06 10:03 Stephen Kitt [this message]
2022-01-06 10:48 ` [PATCH] losetup: restore -f/loopdev alternative Karel Zak
2022-01-06 10:56 ` Stephen Kitt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220106100307.3543758-1-steve@sk2.org \
--to=steve@sk2.org \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox