[systemd-devel] Fwd: System fails to create zram on startup, but I can do so manually
Michal Koutný
mkoutny at suse.com
Mon Nov 25 15:17:03 UTC 2024
On Wed, Nov 20, 2024 at 02:58:57PM GMT, Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl> wrote:
> I don't think we can change this now, because this was documented
> behaviour and people may have used something like '4k' to get 4000 MB.
If you're referring to
ae46c78 ("Obsolete zram-fraction and max-zram-size in favour of new, arbitrary-expression, zram-size"
it also quite unfortunately removed units from the manpage.
So, technically speaking behavior of 4k was undocumented.
> I think the nice backwards-compatible solution would
> be to add a new setting, e.g. disk-size that is evaluated as bytes,
> and soft-deprecate zram-size.
Please Cc me (Werkov) on any related PR.
Thanks,
Michal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20241125/12274d54/attachment.sig>
More information about the systemd-devel
mailing list