Skip to contentSkip to conversation

losetup: restore -f/loopdev alternative

PATCH In review Stephen Kitt 2 participants 3 messages Jan 6, 2022 Util-Linux package

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 losetup: restore -f/loopdev alternative

-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
^

---
 sys-utils/losetup.8.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sys-utils/losetup.8.adoc +1 -1
index 2a2577f0d..52df95bd6 100644
@@ -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

Signature · 1 line
2.30.2
maintainer
#1 lore raw

sys-utils/losetup.8.adoc Detach all associated loop devices: · line 33

Quoted 13 lines · Stephen Kitt
 sys-utils/losetup.8.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sys-utils/losetup.8.adoc +1 -1
index 2a2577f0d..52df95bd6 100644
@@ -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_

Ah, I've just applied https://github.com/util-linux/util-linux/pull/1556
with the same issue.

Karel

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com
#2 lore raw
Quoted 12 lines · Karel Zak
Quoted 11 lines · Stephen Kitt
 sys-utils/losetup.8.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sys-utils/losetup.8.adoc +0 -0
index 2a2577f0d..52df95bd6 100644
@@ -30,7 +30,7 @@ Detach all associated loop devices:
 
 Set up a loop device:
 
Quoted 7 lines
Quoted 4 lines
sys-utils/losetup.8.adoc +0 -1
-*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_

Ah, I've just applied https://github.com/util-linux/util-linux/pull/1556
with the same issue.

Cool, as long as it's fixed :-)

Regards,

Stephen