NAME¶
virt-list-filesystems - List filesystems in a virtual machine or disk image
SYNOPSIS¶
virt-list-filesystems [--options] domname
virt-list-filesystems [--options] disk.img [disk.img ...]
OBSOLETE¶
This tool is obsolete. Use
virt-filesystems(1) as a more flexible
replacement.
DESCRIPTION¶
"virt-list-filesystems" is a command line tool to list the filesystems
that are contained in a virtual machine or disk image.
"virt-list-filesystems" is just a simple wrapper around
libguestfs(3) functionality. For more complex cases you should look at
the
guestfish(1) tool.
OPTIONS¶
- --help
- Display brief help.
- --version
- Display version number and exit.
- -c URI
- --connect URI
- If using libvirt, connect to the given URI. If
omitted, then we connect to the default libvirt hypervisor.
If you specify guest block devices directly, then libvirt is not used at
all.
- --format raw
- Specify the format of disk images given on the command
line. If this is omitted then the format is autodetected from the content
of the disk image.
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.
- -l
- --long
- With this option, "virt-list-filesystems"
displays the type of each filesystem too (where "type" means
"ext3", "xfs" etc.)
- -a
- --all
- Normally we only show mountable filesystems. If this option
is given then swap devices are shown too.
SHELL QUOTING¶
Libvirt guest names can contain arbitrary characters, some of which have meaning
to the shell such as "#" and space. You may need to quote or escape
these characters on the command line. See the shell manual page
sh(1)
for details.
SEE ALSO¶
guestfs(3),
guestfish(1),
virt-cat(1),
virt-tar(1),
virt-filesystems(1),
virt-list-partitions(1),
Sys::Guestfs(3),
Sys::Guestfs::Lib(3),
Sys::Virt(3),
<
http://libguestfs.org/>.
AUTHOR¶
Richard W.M. Jones <
http://people.redhat.com/~rjones/>
COPYRIGHT¶
Copyright (C) 2009 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.