From ab6a986f361da8334c012079f7af51967a495d92 Mon Sep 17 00:00:00 2001 From: Carl Baldwin Date: Thu, 20 Oct 2005 22:18:43 -0600 Subject: [PATCH] Script to help create the iso image on which to throw stuff. --- scripts/create-iso.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 scripts/create-iso.sh 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 -- 2.34.1