btrfs-progs/mkfs
David Sterba 9908894102 btrfs-progs: mkfs: validate device uuid set on command line
We need to validate the device uuid the same way as the fsid:

  $ ./mkfs.btrfs --device-uuid 18eabcf0-6766-4fbf-b366-71b4ae725b2- img
  btrfs-progs v6.5.2
  See https://btrfs.readthedocs.io for more information.

  ERROR: could not parse device UUID: 18eabcf0-6766-4fbf-b366-71b4ae725b2-

Signed-off-by: David Sterba <dsterba@suse.com>
2023-10-21 15:51:07 +02:00
..
common.c btrfs-progs: mkfs: add option to specify device uuid 2023-10-21 15:51:07 +02:00
common.h btrfs-progs: mkfs: add option to specify device uuid 2023-10-21 15:51:07 +02:00
main.c btrfs-progs: mkfs: validate device uuid set on command line 2023-10-21 15:51:07 +02:00
Makefile btrfs-progs: build: add stub makefile to image and mkfs 2019-07-04 15:36:01 +02:00
rootdir.c btrfs-progs: mkfs: add the missing xattr for the rootdir inode 2023-10-21 15:51:07 +02:00
rootdir.h btrfs-progs: mkfs: more verbose output for --rootdir 2023-05-26 22:17:33 +02:00