]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: expose virDomainGetFSInfo
authorTomoki Sekiyama <tomoki.sekiyama@hds.com>
Sat, 22 Nov 2014 01:27:52 +0000 (20:27 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 24 Nov 2014 15:29:16 +0000 (10:29 -0500)
commitfadfcd91649507ff8e785520b4a2bf83b3aa77d2
tree20a3b4dd98c963a87c87651abc5d4c231202938e
parent733b56a4b9e926b22a4e96b8734773174f48536e
virsh: expose virDomainGetFSInfo

Add a "domfsinfo" command that shows a list of filesystems info mounted in
the guest. For example:

virsh # domfsinfo vm1
Mountpoint                           Name     Type     Target
-------------------------------------------------------------------
/                                    sda1     ext4     hdc
/opt                                 dm-2     vfat     vda,vdb
/mnt/test                            sdb1     xfs      sda

Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama@hds.com>
tools/virsh-domain.c
tools/virsh.pod