virt-list-partitions(1) | Virtualization Support | virt-list-partitions(1) |
virt-list-partitions - List partitions in a virtual machine or disk image
virt-list-partitions [--options] domname virt-list-partitions [--options] disk.img [disk.img ...]
This tool is obsolete. Use virt-filesystems(1) as a more flexible replacement.
"virt-list-partitions" is a command line tool to list the partitions that are contained in a virtual machine or disk image. It is mainly useful as a first step to using virt-resize(1).
"virt-list-partitions" is just a simple wrapper around libguestfs(3) functionality. For more complex cases you should look at the guestfish(1) tool.
If you specify guest block devices directly, then libvirt is not used at all.
If disk images are requested from libvirt, then this program asks libvirt for this information. In this case, the value of the format parameter is ignored.
If working with untrusted raw-format guest disk images, you should ensure the format is always specified.
guestfs(3), guestfish(1), virt-filesystems(1), virt-list-filesystems(1), virt-resize(1), Sys::Guestfs(3), Sys::Virt(3), http://libguestfs.org/.
Richard W.M. Jones http://people.redhat.com/~rjones/
Copyright (C) 2009-2020 Red Hat Inc.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
To get a list of bugs against libguestfs, use this link: https://bugzilla.redhat.com/buglist.cgi?component=libguestfs&product=Virtualization+Tools
To report a new bug against libguestfs, use this link: https://bugzilla.redhat.com/enter_bug.cgi?component=libguestfs&product=Virtualization+Tools
When reporting a bug, please supply:
2021-01-05 | libguestfs-1.44.0 |