Re: F33: preview swap-on-ZRAM using zram-generator feature change

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 9, 2020 at 11:20 AM Brian C. Lane <bcl@xxxxxxxxxx> wrote:
>
> On Thu, Jul 09, 2020 at 09:21:31AM -0600, Chris Murphy wrote:
> > On Thu, Jul 9, 2020 at 7:27 AM Chris Murphy <lists@xxxxxxxxxxxxxxxxx> wrote:
> >
> > I've opened an issue with upstream zram-generator folks. Igor suggests
> > they could parse for 'inst.zram' or 'inst.nozram' and inhibit the
> > creation of swap-on-zram.
> >
> > https://github.com/systemd/zram-generator/issues/42
>
> In general I don't think it's a good idea to parse the cmdline for
> parameters they don't control. Anaconda has a dracut module that does
> various things during early boot which seems like a better place to deal
> with inst.* options.

OK. Is it possible for the dracut module to 'touch
/etc/systemd/zram-generator.conf' if it sees 'inst.nozram' ? The
presence of an empty file there will inhibit. Since this is early
boot, it might be more appropriate to have this inhibit file in /run -
I think that's also possible.

-- 
Chris Murphy

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list




[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux