Bug#865450: systemd: tmpfs size mount option ignored when expressed in %

Michael Biebl biebl at debian.org
Thu Jun 22 01:36:49 BST 2017


Am 22.06.2017 um 02:21 schrieb Michael Biebl:

> Since you are using a native systemd unit, I hope you have read man
> systemd.mount:
> 
> 
> Options=
> Mount options to use when mounting. This takes a comma-separated
> list of options. This setting is optional. Note that the usual
> specifier expansion is applied to this setting, literal percent
> characters should hence be written as "%%".
> 
> 
> I.e. while you can use size=70% in /etc/fstab, you can't use it in a
> native .mount unit, but you need to use size=70%% instead.

Afaics this is a deliberate upstream change in v233, see

https://github.com/systemd/systemd/pull/5255

If you disagree with this upstream decision, please raise it upstream at
https://github.com/systemd/systemd

I think it's kinda inconsistent and unexpected that one can use size=70%
in /etc/fstab but for a native .mount unit it has to be Options=size=70%%

That it breaks existing .mount units on upgrades is certainly not nice
either.

That said, maybe there are good reasons for this decision I don't know
about. This is something upstream needs to answer.

Regards,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20170622/4abed49a/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list