PS just had a thought and this is from chromium OS
https://chromium.googlesource.com/chromiumos/platform/init/+/factory-3536.B/swap.conf
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICEN
zram_config because it makes absolutely no check and overwrites any
previous zram devices due to hard coding.
I have been trying to do something simple as use log2ram with a compressed zram
drive.
Came to the conclusion that because of zero checks via zram_config its
impossible to have both in o
https://www.kernel.org/doc/Documentation/blockdev/zram.txt
"num_devices parameter is optional and tells zram how many devices should be
pre-created. Default: 1"
The whole first procedure is a question to why and completely fails to check
previous devices or modprobe zram services:-
Maybe one of the zram-config maintainers want to update
end-zram-swapping
#!/bin/sh
if DEVICES=$(grep zram /proc/swaps | awk '{print $1}'); then
for i in $DEVICES; do
swapoff $i
done
fi
lsmod |grep zram >/dev/null && rmmod zram
init-zram-swapping
#!/bin/sh
# load dependency modules
if
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: zram-config (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1270913
Title:
** Changed in: zram-config (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1270913
Title:
zram-config doesn't start if zram is built-in, not module
To mana