1virt-list-filesystems(1) Virtualization Support virt-list-filesystems(1)
2
3
4
6 virt-list-filesystems - List filesystems in a virtual machine or disk
7 image
8
10 virt-list-filesystems [--options] domname
11
12 virt-list-filesystems [--options] disk.img [disk.img ...]
13
15 This tool is obsolete. Use virt-filesystems(1) as a more flexible
16 replacement.
17
19 "virt-list-filesystems" is a command line tool to list the filesystems
20 that are contained in a virtual machine or disk image.
21
22 "virt-list-filesystems" is just a simple wrapper around libguestfs(3)
23 functionality. For more complex cases you should look at the
24 guestfish(1) tool.
25
27 --help
28 Display brief help.
29
30 --version
31 Display version number and exit.
32
33 -c URI
34 --connect URI
35 If using libvirt, connect to the given URI. If omitted, then we
36 connect to the default libvirt hypervisor.
37
38 If you specify guest block devices directly, then libvirt is not
39 used at all.
40
41 --format raw
42 Specify the format of disk images given on the command line. If
43 this is omitted then the format is autodetected from the content of
44 the disk image.
45
46 If disk images are requested from libvirt, then this program asks
47 libvirt for this information. In this case, the value of the
48 format parameter is ignored.
49
50 If working with untrusted raw-format guest disk images, you should
51 ensure the format is always specified.
52
53 -l
54 --long
55 With this option, "virt-list-filesystems" displays the type of each
56 filesystem too (where "type" means "ext3", "xfs" etc.)
57
58 -a
59 --all
60 Normally we only show mountable filesystems. If this option is
61 given then swap devices are shown too.
62
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
70 guestfs(3), guestfish(1), virt-cat(1), virt-tar(1),
71 virt-filesystems(1), virt-list-partitions(1), Sys::Guestfs(3),
72 Sys::Guestfs::Lib(3), Sys::Virt(3), http://libguestfs.org/.
73
75 Richard W.M. Jones http://people.redhat.com/~rjones/
76
78 Copyright (C) 2009 Red Hat Inc.
79
81 This program is free software; you can redistribute it and/or modify it
82 under the terms of the GNU General Public License as published by the
83 Free Software Foundation; either version 2 of the License, or (at your
84 option) any later version.
85
86 This program is distributed in the hope that it will be useful, but
87 WITHOUT ANY WARRANTY; without even the implied warranty of
88 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
89 General Public License for more details.
90
91 You should have received a copy of the GNU General Public License along
92 with this program; if not, write to the Free Software Foundation, Inc.,
93 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
94
96 To get a list of bugs against libguestfs, use this link:
97 https://bugzilla.redhat.com/buglist.cgi?component=libguestfs&product=Virtualization+Tools
98
99 To report a new bug against libguestfs, use this link:
100 https://bugzilla.redhat.com/enter_bug.cgi?component=libguestfs&product=Virtualization+Tools
101
102 When reporting a bug, please supply:
103
104 · The version of libguestfs.
105
106 · Where you got libguestfs (eg. which Linux distro, compiled from
107 source, etc)
108
109 · Describe the bug accurately and give a way to reproduce it.
110
111 · Run libguestfs-test-tool(1) and paste the complete, unedited output
112 into the bug report.
113
114
115
116libguestfs-1.20.11 2013-08-27 virt-list-filesystems(1)