Bug 639986 - virt-df --csv does not properly quote " in libvirt domain names
Summary: virt-df --csv does not properly quote " in libvirt domain names
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-04 13:40 UTC by Richard W.M. Jones
Modified: 2011-07-14 19:17 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-07-14 19:17:50 UTC
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2010-10-04 13:40:19 UTC
Description of problem:

I have a domain called " (double quote).  When I use
virt-df --csv, the output is not properly quoted:

$ sudo virt-df --csv \"
Virtual Machine,Filesystem,1K-blocks,Used,Available,Use%
""","/dev/sda1",31725,396,29691,1.2%

Note that the first field should be """"

Version-Release number of selected component (if applicable):

libguestfs-tools-1.5.21-1.fc14.3.x86_64

Comment 1 Richard W.M. Jones 2010-10-16 13:37:44 UTC
Set target to fix this in upstream libguestfs 1.6.

Comment 2 Richard W.M. Jones 2010-10-18 13:21:13 UTC
Proposed fix posted upstream:
https://www.redhat.com/archives/libguestfs/2010-October/msg00032.html


Note You need to log in before you can comment on or make changes to this bug.