From: Carl Baldwin <cnb@ball.(none)>
Date: Fri, 21 Oct 2005 04:18:43 +0000 (-0600)
Subject: Script to help create the iso image on which to throw stuff.
X-Git-Tag: release-0.4~84
X-Git-Url: http://git.pippins.net/%3C?a=commitdiff_plain;h=ab6a986f361da8334c012079f7af51967a495d92;p=backups%2F.git

Script to help create the iso image on which to throw stuff.
---

diff --git a/scripts/create-iso.sh b/scripts/create-iso.sh
new file mode 100644
index 0000000..793e7c8
--- /dev/null
+++ b/scripts/create-iso.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+filename=/backup/iso-image.iso
+mountpoint=/backup/iso-mount
+
+dd if=/dev/zero of=$filename bs=2048k count=2220
+mke2fs -b 2048 -F $filename
+mount -t ext2 -o rw,loop $filename $mountpoint