+echo "Creating the iso image in $isoimage"
+touch $isoimage
+# chmod 600 $isoimage
+
+# Create filesystem on iso image here
+dd if=/dev/zero of=$isoimage bs=2048k count=2220
+mke2fs -b 2048 -F $isoimage
+
+echo "Mounting the iso image"
+# Mount iso image here
+mount -t ext2 -o loop $isoimage $isomountdir
+
+mkdir -p $tmpdir
+chmod 700 $tmpdir
+
+touch $currentfiles
+chmod 600 $currentfiles
+echo "Running find to get the status of files"
+find-cmd.sh /home > $currentfiles
+
+echo "Determining list of files to backup with lsbackups"
+{
+ # lsbackups expects the current date followed by a null before the list of files
+ printf "$today\0"
+ cat $currentfiles
+} | lsbackups > $backups 2>$statusfile
+
+echo "Running rsync to pack the image"
+cat $backups | rsync-cmd.sh $isomountdir