From: "Pali Rohár" <pali.rohar@gmail.com>
To: Karel Zak <kzak@redhat.com>
Cc: util-linux@vger.kernel.org
Subject: Re: libblkid: udf: Incorrect implementation of Unicode strings
Date: Tue, 16 May 2017 13:59:40 +0200 [thread overview]
Message-ID: <20170516115940.GD10015@pali> (raw)
In-Reply-To: <20170516110139.v63qiov2ndxw2gwa@ws.net.home>
On Tuesday 16 May 2017 13:01:39 Karel Zak wrote:
> On Mon, May 15, 2017 at 02:38:45PM +0200, Pali Rohár wrote:
> > But question remain what to do with UUID.
>
> It seem generated UUID is libblkid feature and another tools/systems
> don't use anything like UUID for UDF, right?
Yes. Introduced in https://github.com/karelzak/util-linux/pull/135
But I would like to see UUID support also on other places (e.g. Grub2)
so it would be possible to use it really as UUID of FS. Which means we
need some normalized way of generation.
> If yes... then we can keep it unchanged, generate UUDI in the same way
> as now (hexadecimal digits). The "OSTA Unicode fix" maybe be used for
> LABEL= (etc) only. I guess nothing forces use to generate UUIDs from
> decoded VolSetId.
>
> Anyway, UUID has to be printable.
Lets first define allowed characters in UUID and then what we do with
UDF's UUID.
Printable means only printable ASCII? Or also printable from Unicode? Or
only alphanumeric?
Printable ASCII characters are: 0x20 - 0x7E (included). Which means that
also space is is printable.
So what could make sense:
* ASCII uppercase (or lowercase) hexdigits
* ASCII hexdigits
* ASCII alphanumeric
* ASCII alphanumeric and underline
* ASCII printable without space
* ASCII printable (including space)
* UNICODE Basic Latin without space + Latin-1 Supplement without space
* UNICODE Latin script without controls and spaces
* UNICODE Latin script without controls (including spaces)
> > I suggest to include all UDF changes in one release, so "breakage" would
> > be just between two versions. So if above Label/UUID changes would not
> > be ready for next release, I would suggest to postpone currently merged
> > UDF changes.
>
> Yes.
Ok.
--
Pali Rohár
pali.rohar@gmail.com
next prev parent reply other threads:[~2017-05-16 11:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-12 14:38 libblkid: udf: Incorrect implementation of Unicode strings Pali Rohár
2017-05-15 10:09 ` Karel Zak
2017-05-15 12:38 ` Pali Rohár
2017-05-16 11:01 ` Karel Zak
2017-05-16 11:59 ` Pali Rohár [this message]
2017-05-16 12:52 ` Karel Zak
2017-05-16 14:02 ` Pali Rohár
2017-05-17 7:13 ` Karel Zak
2017-05-17 18:50 ` Pali Rohár
2017-05-18 8:34 ` Karel Zak
2017-05-16 22:17 ` Pali Rohár
2017-05-17 7:19 ` Karel Zak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170516115940.GD10015@pali \
--to=pali.rohar@gmail.com \
--cc=kzak@redhat.com \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.