So the old udev's prober called volume_id_set_label_string() for all file system types, which stripped trailing whitespace.
In blkid, ./shlibs/blkid/src/probe.c blkid_probe_set_label() and ./shlibs/blkid/src/encode.c blkid_safe_string() do the same. But ./shlibs/blkid/src/probers/iso9660.c probe_iso9660() only calls blkid_probe_set_label() for non-Joliet, for Joliet it uses blkid_probe_set_utf8label().
So for consistency, blkid_probe_set_utf8label() should skip trailing spaces as well. Alternatively, spaces need to be stripped in probe_iso9660() directly.
So the old udev's prober called volume_ id_set_ label_string( ) for all file system types, which stripped trailing whitespace.
In blkid, ./shlibs/ blkid/src/ probe.c blkid_probe_ set_label( ) and ./shlibs/ blkid/src/ encode. c blkid_safe_string() do the same. But ./shlibs/ blkid/src/ probers/ iso9660. c probe_iso9660() only calls blkid_probe_ set_label( ) for non-Joliet, for Joliet it uses blkid_probe_ set_utf8label( ).
So for consistency, blkid_probe_ set_utf8label( ) should skip trailing spaces as well. Alternatively, spaces need to be stripped in probe_iso9660() directly.