00-livecd.sh: drop old TODO

master
Fabio Erculiani 11 years ago
parent dc7d502990
commit 8df1f57e58

@ -88,14 +88,6 @@ _cache_cd_contents() {
_check_loop _check_loop
if [ "${DO_cache}" ]; then 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..." good_msg "Copying loop file for caching..."
# Verify that the needed directory exists # Verify that the needed directory exists
mkdir -p "$(dirname ${NEW_ROOT}/mnt/${LOOP})" mkdir -p "$(dirname ${NEW_ROOT}/mnt/${LOOP})"

Loading…
Cancel
Save