Re: Automated package testing (Re: Is Sid for broken stuff? Is it too much to ask for testing the packages?)
On Sat, Dec 14, 2002 at 01:31:54AM +0900, Junichi Uekawa wrote:
> > - shareable, copy-on-write block devices (makes repeated testing much more
> > efficient)
> How do you do that ? It might improve pbuilder-uml performance,
> and reliability.
LVM snapshots will do that.
# Make a COW snapshot of the LVM logical volume /dev/tests/woody-master
lvcreate -s -l 1G -n test2626354 /dev/tests/woody-master
# Make the snapshot writable (They are read-only by default)
lvchange -prw /dev/tests/test2626354
# Mount the snapshot and test away
mount /dev/tests/test2626254 /mnt/test/2626254
The test2626254 is just a unique id, it can be anything.
- Nick Lopez
<Deek> If the user points the gun at his foot and pulls the trigger, it
is our job to ensure the bullet gets where it's supposed to.