Script to help create the iso image on which to throw stuff.
authorCarl Baldwin <cnb@ball.(none)>
Fri, 21 Oct 2005 04:18:43 +0000 (22:18 -0600)
committerCarl Baldwin <cnb@ball.(none)>
Fri, 21 Oct 2005 04:18:43 +0000 (22:18 -0600)
scripts/create-iso.sh [new file with mode: 0644]

diff --git a/scripts/create-iso.sh b/scripts/create-iso.sh
new file mode 100644 (file)
index 0000000..793e7c8
--- /dev/null
@@ -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