disko icon indicating copy to clipboard operation
disko copied to clipboard

tests: Add failing test to demonstrate issues with whitespace in part…

Open cscutcher opened this issue 2 years ago • 0 comments

… names

Reproduces #130.

For new style table the generated script has a few problems for example;

    sgdisk \
      --new=2:0:+100M \
      --change-name=2:disk-vdb-name with spaces \
      --typecode=2:EF00 \
      /dev/vdb

and

mkfs.vfat \
         \
        /dev/disk/by-partlabel/disk-vdb-name with spaces

Legacy table style generates slightly different problems e.g.;

parted -s /dev/vdb -- mkpart name with spaces  1MiB 100MiB

cscutcher avatar Aug 25 '23 14:08 cscutcher