Skip to content
Permalink
Browse files

toram now will copy to RAM only /live folder

toram will copy to RAM only /live folder content loading all .squashfs, .dir, .ext2,3,4 inside
folder ending with .dir will be loaded without using loop device - recommended to use them
instead more .squashfs, .ext2,3,4 (limit of 8 loop devices for them).
  • Loading branch information...
MintPup committed Aug 9, 2017
1 parent 0cb97cd commit 6f24fa1c0c514d69d277704aa90b3f77b38c74a9
Showing with 2 additions and 1 deletion.
  1. +2 −1 live-boot-3/bin/boot/9990-toram-todisk.sh
@@ -84,7 +84,8 @@ copy_live_to ()
if [ -x /bin/rsync ]
then
echo " * Copying whole medium to RAM" 1>/dev/console
rsync -a --progress ${copyfrom}/* ${copyto} 1>/dev/console # "cp -a" from busybox also copies hidden files
mkdir -p ${copyto}/${LIVE_MEDIA_PATH} # 20170809 saintless - using toram copy only /live and its content (useful for hdd or usb frugal install).
rsync -a --progress ${copyfrom}/${LIVE_MEDIA_PATH}/* ${copyto}/${LIVE_MEDIA_PATH} 1>/dev/console # "cp -a" from busybox also copies hidden files # 20170809 saintless - using toram copy only /live and its content (useful for hdd or usb frugal install).
else
mkdir -p ${copyto}/${LIVE_MEDIA_PATH}
cp -a ${copyfrom}/${LIVE_MEDIA_PATH}/* ${copyto}/${LIVE_MEDIA_PATH}

0 comments on commit 6f24fa1

Please sign in to comment.
You can’t perform that action at this time.