[Bug 1270913] Re: zram-config doesn't start if zram is built-in, not module

2019-03-04 Thread stuart naylor
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

[Bug 1270913] Re: zram-config doesn't start if zram is built-in, not module

2019-03-04 Thread stuart naylor
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

[Bug 1270913] Re: zram-config doesn't start if zram is built-in, not module

2019-03-04 Thread stuart naylor
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:-

[Bug 1270913] Re: zram-config doesn't start if zram is built-in, not module

2018-10-19 Thread Lenin
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

[Bug 1270913] Re: zram-config doesn't start if zram is built-in, not module

2016-09-09 Thread Launchpad Bug Tracker
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:

[Bug 1270913] Re: zram-config doesn't start if zram is built-in, not module

2015-05-07 Thread Brian Murray
** 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