IS_DUPLICATE_FS_LABEL: blkid has a cache that can provoke false positive #124

Manually merged
benpro merged 3 commits from IS_DUPLICATE_FS_LABEL-blkid-fix into master 2020-06-26 08:51:45 +02:00
Contributor

Disable the cache by using -c /dev/null.

Example of false positive:

/dev/mapper/HDD0-swap2: LABEL="SWAP2" UUID="5540a49e-3e7b-4528-9c4e-49fb5f8d7f3d" TYPE="swap"
/dev/dm-0: LABEL="SWAP2" UUID="5540a49e-3e7b-4528-9c4e-49fb5f8d7f3d" TYPE="swap"

dm-0 may have been cached during boot time, if you don't use a cache,
it doesn't appear any more.

Disable the cache by using `-c /dev/null`. Example of false positive: ``` /dev/mapper/HDD0-swap2: LABEL="SWAP2" UUID="5540a49e-3e7b-4528-9c4e-49fb5f8d7f3d" TYPE="swap" /dev/dm-0: LABEL="SWAP2" UUID="5540a49e-3e7b-4528-9c4e-49fb5f8d7f3d" TYPE="swap" ``` `dm-0` may have been cached during boot time, if you don't use a cache, it doesn't appear any more.
benpro manually merged commit e3778343a5 into master 2020-06-26 08:51:45 +02:00
benpro deleted branch IS_DUPLICATE_FS_LABEL-blkid-fix 2020-06-26 08:55:49 +02:00
Sign in to join this conversation.
No description provided.