mksquashfs: fix abort on failure to get physical memory due to /proc missing

sysconf(_SC_PHYS_PAGES) which Mksquashfs uses to get the amount of
physical pages fails if /proc isn't mounted, returning -1.  This causes
Mksquashfs to abort with a physical memory less than SQUASHFS_LOWMEM
error.

Fix this by defaulting to the minimal value of 16 Mbytes, and
allow the user to use -mem to set the value to a higher value.  Also
issue a warning to this effect.

Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
1 file changed
tree: aefc3c541e439ece5500f26341778ce9d243eae8
  1. kernel/
  2. kernel-2.4/
  3. squashfs-tools/
  4. README