Public bug reported: If setting the partition name with the -c or --change-name option, sgdisk cuts off the 36th character.
sgdisk --change-name=1:"3A184FB2-508B-4C5B-A92A-5ABBE35EDDD2" /dev/sdb parted -m /dev/sdb print | grep ^1: 1:1049kB:7516MB:7515MB:ext4:3A184FB2-508B-4C5B-A92A-5ABBE35EDDD:; -------------------------------------------------------------------------------------------------------------------------^ If I set the name with parted, all is good. parted -s /dev/sdb name 1 3A184FB2-508B-4C5B-A92A-5ABBE35EDDD2 parted -m /dev/sdb print | grep ^1: 1:1049kB:7516MB:7515MB:ext4:3A184FB2-508B-4C5B-A92A-5ABBE35EDDD2:; 1. Description: Ubuntu 14.04.4 LTS Release: 14.04 2. 0.8.8-1ubuntu0.1 3. sgdisk should save 36 characters of partition name as parted does. 4. sgdisk only saves 35 characters. ** Affects: gdisk (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1569819 Title: sgdisk only saves 11 characters with change-name option To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdisk/+bug/1569819/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs