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
18 "virt-list-filesystems" is a command line tool to list the filesystems
19 that are contained in a virtual machine or disk image.
20
21 "virt-list-filesystems" is just a simple wrapper around libguestfs(3)
22 functionality. For more complex cases you should look at the
23 guestfish(1) tool.
24
26 --help
27 Display brief help.
28
29 --version
30 Display version number and exit.
31
32 --connect URI | -c URI
33 If using libvirt, connect to the given URI. If omitted, then we
34 connect to the default libvirt hypervisor.
35
36 If you specify guest block devices directly, then libvirt is not
37 used at all.
38
39 --format raw
40 Specify the format of disk images given on the command line. If
41 this is omitted then the format is autodetected from the content of
42 the disk image.
43
44 If disk images are requested from libvirt, then this program asks
45 libvirt for this information. In this case, the value of the
46 format parameter is ignored.
47
48 If working with untrusted raw-format guest disk images, you should
49 ensure the format is always specified.
50
51 -l | --long
52 With this option, "virt-list-filesystems" displays the type of each
53 filesystem too (where "type" means "ext3", "xfs" etc.)
54
55 -a | --all
56 Normally we only show mountable filesystems. If this option is
57 given then swap devices are shown too.
58
60 Libvirt guest names can contain arbitrary characters, some of which
61 have meaning to the shell such as "#" and space. You may need to quote
62 or escape these characters on the command line. See the shell manual
63 page sh(1) for details.
64
66 guestfs(3), guestfish(1), virt-cat(1), virt-tar(1),
67 virt-filesystems(1), virt-list-partitions(1), Sys::Guestfs(3),
68 Sys::Guestfs::Lib(3), Sys::Virt(3), <http://libguestfs.org/>.
69
71 Richard W.M. Jones <http://people.redhat.com/~rjones/>
72
74 Copyright (C) 2009 Red Hat Inc.
75
76 This program is free software; you can redistribute it and/or modify it
77 under the terms of the GNU General Public License as published by the
78 Free Software Foundation; either version 2 of the License, or (at your
79 option) any later version.
80
81 This program is distributed in the hope that it will be useful, but
82 WITHOUT ANY WARRANTY; without even the implied warranty of
83 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
84 General Public License for more details.
85
86 You should have received a copy of the GNU General Public License along
87 with this program; if not, write to the Free Software Foundation, Inc.,
88 675 Mass Ave, Cambridge, MA 02139, USA.
89
90
91
92libguestfs-1.8.15 2011-11-10 virt-list-filesystems(1)