Skip to content

ee_lib_swap.sh should be refined #359

@ghost

Description

  1. It should be modified to be use the proper approach (dphys-swapfile) to interface with the OS :
    http://manpages.ubuntu.com/manpages/trusty/en/man8/dphys-swapfile.8.html
  2. It should check the existing swap file size, not just look how much RAM system has.
rippler@raspberrypi:~$ cat /etc/dphys-swapfile | awk -F"=" '{print $2}'
1024

I have 496 MB of RAM and a 1 GB swap file and the installer still ran my system into the ground (because it lives on a 8GB SD card and I had only 500 MB of free disk space).

 $ free
             total       used       free     shared    buffers     cached
Mem:        496632     485232      11400          0       1912     223708
-/+ buffers/cache:     259612     237020
Swap:      1048572      13812    1034760

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions