Tiny Core Base > TCB Bugs
tc-config: modprobing of builtin and discontinued modules.
(1/1)
Rich:
I was looking at the section of tc-config that sets up zswap:
--- Code: ---if [ -n "$NOZSWAP" ]; then
echo "${BLUE}Skipping compressed swap in ram as requested from the boot command line.${NORMAL}"
else
modprobe -q zram
modprobe -q zcache
while [ ! -e /dev/zram0 ]; do usleep 50000; done
grep MemFree /proc/meminfo | awk '{print $2/4 "K"}' > /sys/block/zram0/disksize
mkswap /dev/zram0 >/dev/null 2>&1
swapon /dev/zram0
echo "/dev/zram0 swap swap defaults,noauto 0 0" >> /etc/fstab # Lets swapoff -a work
fi
--- End code ---
Out of curiosity I tried to run modinfo on zram and zcache to see if they took any parameters:
--- Code: ---tc@E310:~$ modinfo zram
modinfo: module '/lib/modules/4.19.10-tinycore/zram' not found
tc@E310:~$ modinfo zcache
modinfo: module '/lib/modules/4.19.10-tinycore/zcache' not found
tc@E310:~$
--- End code ---
The zram module has been built into the kernel since TC5, so it can't be modprobed, right?
According to this:
https://unix.stackexchange.com/questions/373631/what-is-an-alternative-for-zcache/374579#374579
zcache was discontinued and removed from kernel 3.11.
curaga:
Yes, unnecessary modprobes. Removed, thanks.
Navigation
[0] Message Index
Go to full version