[systemd-devel] Suggestting (maybe?)better name escape for .mount and .automount unit file
zbyszek at in.waw.pl
Tue Apr 12 07:44:03 PDT 2011
On 04/12/2011 04:33 PM, microcai wrote:
> Shell is evil as Lennart said.
> Then I say, escaping non-ascii char is also evil.
> mount point should use only printable and type-able name, aka, valid
> UTF-8 string.
> Among them, / and - can be used, since unit file name can't contain /, /
> is escaped as -.
> What about - ? Lennart said, Oh, please use \xAB ...
> That is not *elegant* and *obvious*.
> And \ is then also need to be escaped.
> SO, please, escape '-' as '--' (double '-'), no more further escaping.
this is something that I suggested before, but Lennart didn't like the idea.
But I still think that '--' is so much better.
dev-disk-by\x2duuid-72c96b94\x2d9fe6\x2d4a85\x2d93b6\x2d7e8f7d0991fe.device: please no :)
More information about the systemd-devel