summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys-utils/losetup.85
-rw-r--r--sys-utils/losetup.c2
2 files changed, 4 insertions, 3 deletions
diff --git a/sys-utils/losetup.8 b/sys-utils/losetup.8
index 35713bcca..72990aaaf 100644
--- a/sys-utils/losetup.8
+++ b/sys-utils/losetup.8
@@ -63,10 +63,11 @@ Resize loop device:
is used to associate loop devices with regular files or block devices,
to detach loop devices and to query the status of a loop device. If only the
\fIloopdev\fP argument is given, the status of the corresponding loop
-device is shown.
+device is shown. If no option is given, all loop devices are shown.
Note that the old output format (e.g. losetup -a) with comma delimited strings is
-deprecated in favour of the --list output format (e.g. losetup -a -l).
+deprecated in favour of the --list output format.
+
.SH OPTIONS
+The \fIsize\fR and \fIoffset\fR arguments may be followed by the multiplicative
+suffixes KiB=1024, MiB=1024*1024, and so on for GiB, TiB, PiB, EiB, ZiB and YiB
diff --git a/sys-utils/losetup.c b/sys-utils/losetup.c
index 44e190af5..58d3e08a4 100644
--- a/sys-utils/losetup.c
+++ b/sys-utils/losetup.c
@@ -389,7 +389,7 @@ static void usage(FILE *out)
fputs(USAGE_SEPARATOR, out);
- fputs(_(" -l, --list list info about all or specified\n"), out);
+ fputs(_(" -l, --list list info about all or specified (default)\n"), out);
fputs(_(" -O, --output <cols> specify columns to output for --list\n"), out);
fputs(_(" -n, --noheadings don't print headings for --list output\n"), out);
fputs(_(" --raw use raw --list output format\n"), out);