From 8df1f57e5807f980b9765954ea4bc45d959c68ff Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Tue, 19 Nov 2013 17:47:21 +0100 Subject: [PATCH] 00-livecd.sh: drop old TODO --- defaults/initrd.d/00-livecd.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/defaults/initrd.d/00-livecd.sh b/defaults/initrd.d/00-livecd.sh index fbc3422..55a6083 100755 --- a/defaults/initrd.d/00-livecd.sh +++ b/defaults/initrd.d/00-livecd.sh @@ -88,14 +88,6 @@ _cache_cd_contents() { _check_loop if [ "${DO_cache}" ]; then - # TODO: Check the size of the image versus the size of our tmpfs - # along with the amount of available RAM and increase tmpfs size - # if necessary. (Not having awk sucks...) - # z=0 - # for i in $(cat /proc/meminfo | grep -e ^MemFree -e ^Cached | \ - # cut -d: -f2 | cut -dk -f1 | sed -e "s/^\s*//") ; do - # z=$(($z + $i)) ; done - # echo $z good_msg "Copying loop file for caching..." # Verify that the needed directory exists mkdir -p "$(dirname ${NEW_ROOT}/mnt/${LOOP})"