btrfs-progs/convert
David Sterba 88de623dd2 btrfs-progs: convert: allow to set a duplicate uuid
Relax the condition about a unique uuid for convert, only print a
warning. In case we copy the uuid, it's expected that at the time the
conversion starts the uuid is not unique as it sill exists on the source
filesystem.

In case user sets the uuid manually but it's still the same one as on
the source filesystem we should also allow that, so it warns in this
case as well.

Update the test so it creates a block device where the uuid would be
also cached by blkid and lets the non-unique check succeed.

Issue: #404
Signed-off-by: David Sterba <dsterba@suse.com>
2021-09-20 16:58:13 +02:00
..
Makefile
common.c btrfs-progs: convert: allow to set a duplicate uuid 2021-09-20 16:58:13 +02:00
common.h btrfs-progs: convert: rename context volume_name to label 2021-08-20 14:24:55 +02:00
main.c btrfs-progs: convert: allow to set a duplicate uuid 2021-09-20 16:58:13 +02:00
source-ext2.c btrfs-progs: convert: rename context volume_name to label 2021-08-20 14:24:55 +02:00
source-ext2.h
source-fs.c btrfs-progs: move volumes.c to kernel-shared/ 2020-08-31 17:01:06 +02:00
source-fs.h btrfs-progs: convert: new option to copy or specify uuid 2021-08-20 14:24:55 +02:00
source-reiserfs.c btrfs-progs: convert: rename context volume_name to label 2021-08-20 14:24:55 +02:00
source-reiserfs.h