- 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
-----
--------------------------
+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
\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
.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..."