]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virStorageVolWipe: Document that wiping journaled FS is useless
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 17 Dec 2015 10:06:51 +0000 (11:06 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 24 Dec 2015 17:02:58 +0000 (18:02 +0100)
commiteec91958b4b0abdbb7ab769f540bcfa72a107c9b
tree248ef621153b8400930c9588113c3afffdf5c239
parent635daa2556b003c3a1d19f1a850511fbc0ccff46
virStorageVolWipe: Document that wiping journaled FS is useless

So you have a libvirt volume that you want to wipe out. But lets
say that the volume is actually a file stored on a journaled
filesystem. Overwriting it with zeroes or a pattern does not mean
that corresponding physical location on the disk is overwritten
too, due to journaling. It's the same story with network based
volumes, copy-on-write filesystems, and so on. Since there is no
way that an userland application can write onto specific areas on
disk, all that we can do is document the fact.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/libvirt-storage.c