diff options
author | Junichi Uekawa <dancer@dancer64.netfort.gr.jp> | 2007-08-20 08:00:22 +0900 |
---|---|---|
committer | Junichi Uekawa <dancer@dancer64.netfort.gr.jp> | 2007-08-20 08:00:22 +0900 |
commit | f1a7ed88a0fd70c2bae72c4fd4f45021f43d53ec (patch) | |
tree | 8d862451e380b43485950aa394e6b11b660ce62f /examples/lvmpbuilder/sample_device_creator | |
parent | 8a71e9317f6ae94fd81f184136a4529b0b989ef8 (diff) | |
download | pbuilder-f1a7ed88a0fd70c2bae72c4fd4f45021f43d53ec.tar pbuilder-f1a7ed88a0fd70c2bae72c4fd4f45021f43d53ec.tar.gz |
* update lvmpbuilder, thanks to Kapil Hari Paranjape (closes: #389884)
Diffstat (limited to 'examples/lvmpbuilder/sample_device_creator')
-rwxr-xr-x | examples/lvmpbuilder/sample_device_creator | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/examples/lvmpbuilder/sample_device_creator b/examples/lvmpbuilder/sample_device_creator deleted file mode 100755 index 4c38810..0000000 --- a/examples/lvmpbuilder/sample_device_creator +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh -#The files in this directory (except pbuilderrc) were written by -#(C) 2006 Kapil Hari Paranjape <kapil@imsc.res.in>. -#They are placed in the public domain. You can do with them exactly as you wish. - -## Uncomment these lines after filling the -## full path of a device with at least 2G -# DISK=/dev/hda5 -## ...and... -## Comment these lines to use the actual device -## You entered above -LOOPTMP=$(mktemp /tmp/loop.XXXXXX) -dd if=/dev/zero of=$LOOPTMP bs=10M count=200 -DISK=$(losetup -f) -losetup $DISK $LOOPTMP - -# Possible steps to create base and cow devices -pvcreate $DISK -vgcreate pbuilder $DISK -lvcreate -L 500M -n base pbuilder -lvcreate -L 1.5G -n cow pbuilder - -echo BASEDEV=$(ls /dev/pbuilder/base) && \ -echo COWDEV=$(ls /dev/pbuilder/cow) - |