Jump to content

Jak utworzyć zram?


n3t5ky

Recommended Posts

modprobe zram
zramctl --size 2G /dev/zram0
mkswap /dev/zram0
swapon /dev/zram0 -p 10
echo "zram" > /etc/modules-load.d/zram.conf
echo 'KERNEL=="zram0", ATTR{disksize}="2G" RUN="/sbin/mkswap /dev/zram0", TAG+="systemd"' > /etc/udev/rules.d/99-zram.rules
echo "/dev/zram0 none swap defaults,pri=10 0 0" >> /etc/fstab


 

Usuwanie AdBlue / DPF / EGR  - całodobowo z dojazdem do klienta
Pojazdy osobowe, dostawcze, ciężarowe oraz maszyny

+48 577 240 064

spacer.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...