[Libguestfs] [PATCH libguestfs 0/3] daemon: Fix various commands which break on NTFS-3g compressed files.

Richard W.M. Jones rjones at redhat.com
Thu Mar 12 14:44:45 UTC 2020


https://bugzilla.redhat.com/show_bug.cgi?id=1811539

Commands including virt-diff which read extended attributes will
sometimes fail on NTFS filesystems that are using system compressed.
The reason is complex, see comment 5 of the bug linked above.

This patch filters out the troublesome xattr.  For justification, see
the comment I added in patch 3.

Patch 1 & 2 are refactoring.

I was on the verge of rewriting the whole file in OCaml, but OCaml
doesn't have access to the relevant system calls so it would have been
a bunch more work and not necessarily any simpler.

Thanks: Yongkui Guo for identifying the bug.

Rich.





More information about the Libguestfs mailing list