[systemd-devel] Suggestting (maybe?)better name escape for .mount and .automount unit file
microcai
microcai at fedoraproject.org
Tue Apr 12 07:33:02 PDT 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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.
If user want to use *valid* but non-printable path as mount point, they
are simply doing the wrong way. Still, I doubt any one would do that.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
iQEcBAEBAgAGBQJNpGKdAAoJEKT4Uz7oTANZBJAH/1wTuNJpyVNXuyDP1HPOfoZh
L/749247MBS8D27/iKCrREZ/T9kBur1T33JjhCyIPlf8MDp7ATXv44aDngZeeg1v
5gBsbb2RVXsZFo0KsndmPN3vkm5MEy7S9b1LSFNcqaUXnjGdq9J8k1Nta5W2e6XI
R4z8fovgLVbu3/8KazHulzRAde72RjhdD//JjRW1ao6WNtlL6UEAkLk8V4DRMTpi
B7VAuXCCA29TsnU7pwKYWlxmrMAYC8pCHFGRZW1thSVYAKtV/YVw+zW8/1+eb84m
P2WiK4sMA0ZTSWvL3OC0qCKtQdyRRcc4fPcR4KIG9rXPpx80l/Oc7UolT5exQjw=
=8hKe
-----END PGP SIGNATURE-----
More information about the systemd-devel
mailing list