On Tuesday, July 28, 2020 12:51:00 PM MST Chris Murphy wrote:
On Tue, Jul 28, 2020 at 11:29 AM stan via devel
<devel(a)lists.fedoraproject.org> wrote:
>
>
> On Thu, 4 Jun 2020 16:30:07 -0400
> Ben Cotton <bcotton(a)redhat.com> wrote:
>
>
>
> >
https://fedoraproject.org/wiki/Changes/SwapOnZRAM
>
>
>
> > ==== How can it be disabled? ====
> >
> >
> >
> > Immediately:</br >
> > <span style=color:red>swapoff /dev/zram0</span>
> >
> >
> >
> > Permanently:</br >
> > <span style=color:red>rm /etc/systemd/zram-generator.conf</span>
>
>
>
> I realize this is a really late reply, but I wanted to disable this
> since it was never used, and when I looked at the man pages this
> information was not in them. I think it should be.
That information is stale. The feature page has been updated.
man page contains:
To disable a configuration file supplied by the vendor, the
recommended way is to place a symlink to /dev/null in the
configuration directory in /etc/, with the same filename as the vendor
configuration file.
It's maybe easier to just 'dnf remove zram-generator-defaults' but
that is a Fedora specific instruction.
Well, that'll just make it come back on upgrade, wouldn't it?
--
John M. Harris, Jr.