util-linux/libblkid/docs
Karel Zak d2b0c6587d libblkid: allow to hide already detected signatures
The libblkid probing functions returns the first successful result of
the filesystem/RAID/PT. Unfortunately, some signatures is possible to
detect by more ways or device may contains more copies (e.g. GPT).

This is no problem when we wipe signatures from the device. In this
case we zeroize on-device signature and re-scan for the signature (by
blkid_probe_step_back()).

The problem is if we want to read all permutations without the device
modification (for example wipefs(8) dry run).

This patch add blkid_probe_hide_range(). The function remove (zeroize)
specified signature from in-memory cached buffers. If the buffer is
later re-used by probing functions then the signature is invisible and
we can try detect another variant of the magic string.

Signed-off-by: Karel Zak <kzak@redhat.com>
2017-06-28 10:28:41 +02:00
..
.gitignore build-sys: sort gitignore files 2014-03-12 12:06:37 +01:00
Makefile.am Revert "libblkid: Probe UDF volumes for ISO9660 info as well" 2017-05-05 18:38:15 +02:00
libblkid-config.xml build-sys: use top-level directory for libblkid rather than shlibs/blkid 2011-06-09 22:04:24 +02:00
libblkid-docs.xml libblkid: (docs) add missing 'since' tags 2017-05-23 14:27:36 +02:00
libblkid-sections.txt libblkid: allow to hide already detected signatures 2017-06-28 10:28:41 +02:00
version.xml.in build-sys: use top-level directory for libblkid rather than shlibs/blkid 2011-06-09 22:04:24 +02:00