Signed-off-by: Martin Schwenke <martin@meltin.net>
mount unmount \
mkdir_p substitute_vars chmod chmod_reference \
is_directory is_file append_text_file append_text sed put ln_s grep \
- command \
+ command mv \
; do
make_system_disk_access_function "diskimage_$i"
done
# single string... and, yes, quoting is lost.
guestfish --remote command "$*"
}
+
+diskimage_mv_guestfish ()
+{
+ guestfish --remote mv "$1" "$2"
+}
chroot mnt "$@"
}
+diskimage_mv_loopback ()
+{
+ mv "mnt$1" "mnt$2"
+}
+
######################################################################
# Private functions