).
I agree with you, because in the most optimistic scenario all free remaining swap is "fresh" (therefore flopswap fresh swap = free swap reported by free cmd), but if some of this swap is not fresh, then the amount reported by free cmd will be bigger then the amount of "fresh" swap (and it should never be possible to be lower I think).
| The Following User Says Thank You to misiak For This Useful Post: | ||
).
| The Following User Says Thank You to sixwheeledbeast For This Useful Post: | ||
| The Following 3 Users Say Thank You to sixwheeledbeast For This Useful Post: | ||
| The Following 2 Users Say Thank You to sixwheeledbeast For This Useful Post: | ||
blkid | grep swap ##(needs root)
dpkg-query -W -f='${Version}\n' upstart
dpkg-query -W -f='${Version}\n' flopswap
cat /etc/default/mount-opts-overwrite
cat /etc/default/mount-opts
cat /etc/fstab
| The Following User Says Thank You to sixwheeledbeast For This Useful Post: | ||
blkid | grep swap ##(needs root)
dpkg-query -W -f='${Version}\n' upstart
dpkg-query -W -f='${Version}\n' flopswap
cat /etc/default/mount-opts-overwrite
cat /etc/default/mount-opts
cat /etc/fstab

BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash)
Enter 'help' for a list of built-in commands.
/home/user # blkid | grep swap ##(needs root)
/dev/mmcblk1p2: UUID="46b9ea3f-0398-4d32-abbc-76d0fa108e2b" TYPE="swap"
/dev/mmcblk1p3: UUID="18488e77-b6a0-41cb-94de-6f6c2ee80826" TYPE="swap"
/dev/mmcblk0p3: TYPE="swap"
/home/user # dpkg-query -W -f='${Version}\n' upstart
0.3.8-68+0cssu7
/home/user # dpkg-query -W -f='${Version}\n' flopswap
0.2.0
/home/user # cat /etc/default/mount-opts-overwrite
swap_sd="0"
/home/user # cat /etc/default/mount-opts
# !!! Do not edit this file. It can be overwritten in next update !!!
# !!! Instead create and edit file /etc/default/mount-opts-overwrite !!!
# Options for mounting all filesystems
common_opts="noatime,nodiratime"
# Options for mounting root's filesystems (/, /home)
root_opts="errors=continue,commit=1,data=writeback"
# Options for mounting user's filesystems (MyDocs, SD cards, ...)
user_opts="noauto,nodev,exec,nosuid"
# Options for swap partitions
swap_opts=""
# Options for different filesystems
vfat_opts="utf8,uid=29999,shortname=mixed,dmask=000,fmask=0000,rodir"
ntfs_opts="nls=utf8,uid=29999,umask=0000"
# Renerate fstab at boot time in /etc/event.d/rcS-late
genfstab="1"
# When generating fstab add also swap partitions from SD card (if exists)
swap_sd="0"
# Call fsck -p for /home at boot time in /etc/event.d/rcS-late
home_fsck="1"
# Call fsck -p for user's partitions (MyDocs, SD cards, ...)
user_fsck="1"
# Include overwrite file
if [ -f /etc/default/mount-opts-overwrite ]; then
. /etc/default/mount-opts-overwrite
fi
/home/user # cat /etc/fstab
# This file was generated by script /etc/event.d/rcS-late
# !!! Do not edit this file. It will be overwritten in next device startup !!!
# If you want static /etc/fstab add genfstab="0" to file /etc/default/mount-opts-overwrite
rootfs / rootfs rw 0 0
ubi0:rootfs / ubifs rw,bulk_read,no_chk_data_crc 0 0
/dev/mmcblk0p2 /home ext3 noatime,nodiratime,errors=continue,commit=1,data=writeback 0 2
/home/opt /opt none bind 0 0
/dev/mmcblk0p1 /home/user/MyDocs vfat noatime,nodiratime,noauto,nodev,exec,nosuid,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0000,rodir 0 2
/dev/mmcblk1p2 none swap sw 0 0
/dev/mmcblk1p3 none swap sw 0 0
/dev/mmcblk0p3 none swap sw 0 0
/home/user #
| The Following 2 Users Say Thank You to ste-phan For This Useful Post: | ||