Description of problem: virt-filesystems -d Ubuntu1010x64 --long --all -h libguestfs: error: vfs_label: /dev/vda2: Version-Release number of selected component (if applicable): libguestfs-1.8.0-1.fc14.x86_64
Created attachment 472310 [details] virt-filesystems -v -x output Full output from the command: virt-filesystems -d Ubuntu1010x64 --long --all -h -v -x
/dev/vda2 is an extended partition (containing a logical partition which is the swap). Therefore it doesn't make sense to run guestfs_vfs_label on it. We should just ignore the result of vfs_label if it's an error.
Reproducer: $ guestfish -N part exit $ virt-filesystems -a test1.img --all --long -h libguestfs: error: vfs_label: /dev/vda1: When the bug is fixed it produces the following output instead: $ guestfish -N part exit $ virt-filesystems -a test1.img --all --long -h Name Type VFS Label Size Parent /dev/sda1 filesystem unknown - 100M - /dev/sda1 partition - - 100M /dev/sda /dev/sda device - - 100M -
Fix posted upstream: http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=97339a0f43d687efac6f7edafdf21e4b8d9b35e8