Tinycore is here 12/1/2008! Welcome visitors.
... How can we change the free space configuration on the system RDD! ...
Hi xorQuote from: xor on May 11, 2020, 10:34:38 AM ... How can we change the free space configuration on the system RDD! ... Are you talking about zswap ? You can disable that with the nozswap boot code. Or to resize it, maybe this will help you:http://forum.tinycorelinux.net/index.php/topic,9250
... Are you talking about zswap ? You can disable that with the nozswap boot code. Or to resize it, maybe this will help you:http://forum.tinycorelinux.net/index.php/topic,9250
sudo su# remove all existing swapswapoff -a# Set the size to 50000 K bytesecho "50000K" > /sys/block/zram0/disksize# Create the swap filemkswap /dev/zram0 >/dev/null 2>&1# Update fstab.echo "/dev/zram0 swap swap defaults,noauto 0 0" >> /etc/fstab # Lets swapoff -a work# Enable this swap device first so it has priority.swapon /dev/zram0# Enable any remaining swap devices.swapon -aexit
cat /proc/swaps
Hi xorQuote from: Rich on May 11, 2020, 11:19:20 AM ... Are you talking about zswap ? You can disable that with the nozswap boot code. Or to resize it, maybe this will help you:http://forum.tinycorelinux.net/index.php/topic,9250Ignore the link I posted, it's too old.By default, Tinycore uses 25% of your RAM for zswap (swap space in RAM). If you want to change the amount used, try this:First, boot using the nozswap boot code.ThenCode: [Select]sudo su# remove all existing swapswapoff -a# Set the size to 50000 K bytesecho "50000K" > /sys/block/zram0/disksize# Create the swap filemkswap /dev/zram0 >/dev/null 2>&1# Update fstab.echo "/dev/zram0 swap swap defaults,noauto 0 0" >> /etc/fstab # Lets swapoff -a work# Enable this swap device first so it has priority.swapon /dev/zram0# Enable any remaining swap devices.swapon -aexitTo see the status of your swap devices:Code: [Select]cat /proc/swapsIf this does what you want, then add it to your /opt/bootsync.sh file before the line that calls /opt/bootlocal.sh. Do not includethe lines that say sudo su or exit.
... Question: How can I shape the RDD area? ...
Hi xorQuote from: xor on May 11, 2020, 12:21:47 PM ... Question: How can I shape the RDD area? ... I don't know what or where the RDD is.
Hi xorYes, the rootfs is in RAM.If you want to know out how its managed, you will have to ask Google, because I don't know.If you want whether you can control its size, you will have to ask Google, because I don't know.