Util-Linux package development
 help / color / mirror / Atom feed
From: Benno Schulenberg <bensberg@telfort.nl>
To: util-linux@vger.kernel.org
Subject: [PATCH 3/3] losetup: (man) put the synopses in a better order, the name-giver first
Date: Wed, 29 Oct 2025 12:03:58 +0100	[thread overview]
Message-ID: <20251029110358.18170-3-bensberg@telfort.nl> (raw)
In-Reply-To: <20251029110358.18170-1-bensberg@telfort.nl>

Also, condense the synopsis for setting up a loop device to just the
essentials -- it had become so long that it was incomprehensible.

Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
---
 sys-utils/losetup.8.adoc | 30 +++++++++++++-----------------
 1 file changed, 13 insertions(+), 17 deletions(-)

diff --git a/sys-utils/losetup.8.adoc b/sys-utils/losetup.8.adoc
index 131ebfa56..cecc09618 100644
--- a/sys-utils/losetup.8.adoc
+++ b/sys-utils/losetup.8.adoc
@@ -12,31 +12,27 @@ losetup - set up and control loop devices
 
 == SYNOPSIS
 
+Set up a loop device:
+
+*losetup* [options] *-f*|_loopdev file_
+
 Get info:
 
-*losetup* [_loopdev_]
-
-*losetup* *-l* [*-a*]
+*losetup* [*-l*] [*-a*|_loopdev_]
 
 *losetup* *-j* _file_ [*-o* _offset_]
 
-Detach a loop device:
-
-*losetup* *-d* _loopdev_ ...
-
-Detach all associated loop devices:
-
-*losetup* *-D*
-
-Set up a loop device:
-
-*losetup* [*-o* _offset_] [*--sizelimit* _size_] [*--sector-size* _size_] [*--loop-ref* _name_] [*-Pr*] [*--show*] *-f*|_loopdev file_
-
-Resize a loop device:
+Recalibrate the size of a loop device:
 
 *losetup* *-c* _loopdev_
 
-Remove a loop device:
+Detach loop devices:
+
+*losetup* *-d* _loopdev_ ...
+
+*losetup* *-D*
+
+Prevent loop devices from getting listed:
 
 *losetup* *--remove* _loopdev_ ...
 
-- 
2.51.2


      parent reply	other threads:[~2025-10-29 11:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-29 11:03 [PATCH 1/3] losetup: sort 'O' correctly for the mutual-exclusive check to work Benno Schulenberg
2025-10-29 11:03 ` [PATCH 2/3] losetup: remove the --verbose flag, as it doesn't actually do anything Benno Schulenberg
2025-10-29 11:07   ` Benno Schulenberg
2025-11-03 12:59     ` Karel Zak
2025-10-29 11:03 ` Benno Schulenberg [this message]

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=20251029110358.18170-3-bensberg@telfort.nl \
    --to=bensberg@telfort.nl \
    --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