Fixed some over-long lines.

This commit is contained in:
ccurley 2006-04-06 15:26:20 +00:00
parent 52c5ef3603
commit 0881a4eb0a
2 changed files with 8 additions and 5 deletions

View File

@ -9,7 +9,7 @@
# run at restore time to rebuild hard drive x, prior to running
# restore.metadata. dev.x is the input file for fdisk.
# Time-stamp: <2006-04-05 20:36:21 ccurley make.fdisk>
# Time-stamp: <2006-04-06 09:20:53 ccurley make.fdisk>
# Copyright 2001 through the last date of modification Charles Curley
# except for the subroutine cut2fmt.
@ -355,11 +355,13 @@ or die ("Can't open LVM display.\n");
$phv = @pv[0];
print ("pv $pvname has uid $uid.\n");
print (MKLVS "echo \"y\\n\" | pvcreate -ff --uuid \"$uid\" --restorefile lvm.cfg/archive/${pvname}_*.vg $phv\n");
print (MKLVS "echo \"y\\n\" | pvcreate -ff --uuid \"$uid\"\\\n");
print (MKLVS " --restorefile lvm.cfg/archive/${pvname}_*.vg $phv\n");
print (MKLVS "vgcfgrestore --file LVM.backs $pvname\n\n");
}
print (MKLVS "# Hideously disty dependent!\nif [ -e /etc/init.d/lvm ] ; then\n /etc/init.d/lvm start\nfi\n\n");
print (MKLVS "# Hideously disty dependent!\nif [ -e /etc/init.d/lvm ] ; then\n");
print (MKLVS " /etc/init.d/lvm start\nfi\n\n");
$fstabpid = open (FSTAB, "< /etc/fstab")
or die "Couldn't fork: $!\n";

View File

@ -36,12 +36,13 @@ fi
export LVM_SYSTEM_DIR=$(pwd)/lvm.cfg
echo "y\n" | pvcreate -ff --uuid "CCmw0N-0We2-HzRS-jRZa-FkC7-NxTc-oAfvpX" --restorefile lvm.cfg/archive/VolGroup00_*.vg /dev/hda3
echo "y\n" | pvcreate -ff --uuid "CCmw0N-0We2-HzRS-jRZa-FkC7-NxTc-oAfvpX"\
--restorefile lvm.cfg/archive/VolGroup00_*.vg /dev/hda3
vgcfgrestore --file LVM.backs VolGroup00
# Hideously disty dependent!
if [ -e /etc/init.d/lvm ] ; then
/etc/init.d/lvm start
/etc/init.d/lvm start
fi
echo