docs: mark old losetup output format as DEPRECATED
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
896352d390
commit
ead259e325
|
@ -12,12 +12,6 @@ lscpu
|
|||
- detect more hypervisors, see 'virt-what' shell script
|
||||
http://people.redhat.com/~rjones/virt-what/
|
||||
|
||||
losetup
|
||||
-------
|
||||
- add new option --list and --output <columns> to print details about
|
||||
one or all (-a) devices by lib/tt.c output. For example people hate
|
||||
the hex devno in the default output.
|
||||
|
||||
dmesg
|
||||
-----
|
||||
|
||||
|
|
|
@ -24,6 +24,24 @@ Why: the option -s is in collision with the Loop-AES losetup dialect that is use
|
|||
|
||||
--------------------------
|
||||
|
||||
What: losetup output format without --list
|
||||
|
||||
deprecated format"
|
||||
|
||||
# losetup -a
|
||||
/dev/loop0: []: (/home/fs-images/swap.img)
|
||||
/dev/loop1: []: (/home/fs-images/disk.img), offset 100
|
||||
|
||||
new format:
|
||||
|
||||
# losetup
|
||||
NAME SIZELIMIT OFFSET AUTOCLEAR RO BACK-FILE
|
||||
/dev/loop0 0 0 0 0 /home/fs-images/swap.img
|
||||
/dev/loop1 0 100 0 0 /home/fs-images/disk.img
|
||||
|
||||
--------------------------
|
||||
|
||||
|
||||
What: elvtune
|
||||
Why: useless for kernel >= 2.6.9
|
||||
|
||||
|
|
|
@ -67,6 +67,8 @@ 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.
|
||||
|
||||
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).
|
||||
.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
|
||||
|
@ -75,7 +77,8 @@ device is shown.
|
|||
|
||||
.IP "\fB\-a, \-\-all\fP"
|
||||
show status of all loop devices. Note that not all information are accessible
|
||||
for non-root users. See also \fB\-\-list\fP.
|
||||
for non-root users. See also \fB\-\-list\fP. The old output format (as printed
|
||||
without --list) is deprecated.
|
||||
.IP "\fB\-c, \-\-set-capacity\fP \fIloopdev\fP
|
||||
force loop driver to reread size of the file associated with the specified loop device
|
||||
.IP "\fB\-d, \-\-detach\fP \fIloopdev\fP..."
|
||||
|
|
Loading…
Reference in New Issue