support external mounters

pull/5/head
Tomas M 2012-09-22 02:30:32 -05:00
parent 2c54c8282e
commit c847aa7c68
3 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@ -297,9 +297,9 @@ copy_to_ram()
DM="$(mounted_device "$1" | cut -d : -f 2-)"
RAM="$DM.ram"
echo "* Copying $LIVEKITNAME data to RAM..." >&2
cp -a $DM $RAM
cp -a "$DM" "$RAM"
echo "$RAM/$LIVEKITNAME"
umount -n $DM
umount "$DM"
}
# Mount squashfs filesystem bundles