1virt-list-partitions(1)     Virtualization Support     virt-list-partitions(1)
2
3
4

NAME

6       virt-list-partitions - List partitions in a virtual machine or disk
7       image
8

SYNOPSIS

10        virt-list-partitions [--options] domname
11
12        virt-list-partitions [--options] disk.img [disk.img ...]
13

DESCRIPTION

15       This tool is obsolete.  Use virt-filesystems(1) as a more flexible
16       replacement.
17
18       "virt-list-partitions" is a command line tool to list the partitions
19       that are contained in a virtual machine or disk image.  It is mainly
20       useful as a first step to using virt-resize(1).
21
22       "virt-list-partitions" is just a simple wrapper around libguestfs(3)
23       functionality.  For more complex cases you should look at the
24       guestfish(1) tool.
25

OPTIONS

27       --help
28           Display brief help.
29
30       --version
31           Display version number and exit.
32
33       --connect URI | -c URI
34           If using libvirt, connect to the given URI.  If omitted, then we
35           connect to the default libvirt hypervisor.
36
37           If you specify guest block devices directly, then libvirt is not
38           used at all.
39
40       --format raw
41           Specify the format of disk images given on the command line.  If
42           this is omitted then the format is autodetected from the content of
43           the disk image.
44
45           If disk images are requested from libvirt, then this program asks
46           libvirt for this information.  In this case, the value of the
47           format parameter is ignored.
48
49           If working with untrusted raw-format guest disk images, you should
50           ensure the format is always specified.
51
52       -h | --human-readable
53           Show sizes in human-readable form (eg. "1G").
54
55       -l | --long
56           With this option, "virt-list-partitions" displays the type and size
57           of each partition too (where "type" means "ext3", "pv" etc.)
58
59       -t | --total
60           Display the total size of each block device (as a separate row or
61           rows).
62

SHELL QUOTING

64       Libvirt guest names can contain arbitrary characters, some of which
65       have meaning to the shell such as "#" and space.  You may need to quote
66       or escape these characters on the command line.  See the shell manual
67       page sh(1) for details.
68

SEE ALSO

70       guestfs(3), guestfish(1), virt-filesystems(1),
71       virt-list-filesystems(1), virt-resize(1), Sys::Guestfs(3),
72       Sys::Guestfs::Lib(3), Sys::Virt(3), <http://libguestfs.org/>.
73

AUTHOR

75       Richard W.M. Jones <http://people.redhat.com/~rjones/>
76
78       Copyright (C) 2009-2010 Red Hat Inc.
79
80       This program is free software; you can redistribute it and/or modify it
81       under the terms of the GNU General Public License as published by the
82       Free Software Foundation; either version 2 of the License, or (at your
83       option) any later version.
84
85       This program is distributed in the hope that it will be useful, but
86       WITHOUT ANY WARRANTY; without even the implied warranty of
87       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
88       General Public License for more details.
89
90       You should have received a copy of the GNU General Public License along
91       with this program; if not, write to the Free Software Foundation, Inc.,
92       675 Mass Ave, Cambridge, MA 02139, USA.
93
94
95
96libguestfs-1.8.15                 2011-11-10           virt-list-partitions(1)
Impressum