https://bugs.kde.org/show_bug.cgi?id=383451

--- Comment #3 from Pali Rohár <pali.ro...@gmail.com> ---
(In reply to Andrius Štikonas from comment #2)
> (In reply to Pali Rohár from comment #0)
> 
> > Problems:
> > * Check for max label length is incorrect too as it depends on characters
> >   itself in label.
> 
> Maybe I should restrict it to 63 for now and refactor later? 63 is not that
> little, should be enough for most use cases. Then we can extend API to check
> a particular label and not just length.

It is not so simple. Some background:

Label is stored as UDF Logical Volume Identifier (--lvid) which has above
restrictions. But due to compatibility reasons with Linux systems with older
blkid library/binaries, it is needed to store label also into UDF Volume
Identifier (--vid) which has restriction of 30 resp. 15 characters (again 15
only if label contains at least one Unicode codepoint above U+FF). Moreover
mkudffs prior to version 1.1 is able to process --lvid and --vid params which
contains only ASCII characters. Other non-ASCII character cause creating
damaged file system.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to