[readonly/geninitrd/devel: 200/334] Run only one, rootfs VG when using LVM.
draenog
draenog at pld-linux.org
Sat Nov 2 19:28:20 CET 2013
commit 90b5b05ab4ae8d745f08ae9da4b80585d23956e6
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Apr 3 01:01:20 2004 +0000
Run only one, rootfs VG when using LVM.
svn-id: @3865
geninitrd | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/geninitrd b/geninitrd
index 2b9104a..f357a49 100755
--- a/geninitrd
+++ b/geninitrd
@@ -1028,10 +1028,10 @@ if is_yes "$uselvm" ; then
echo "mount -t tmpfs none /tmp" >> "$s"
if [ "$LVMTOOLSVERSION" = "1" ] ; then
echo "lvm vgscan -T" >> "$s"
- echo "lvm vgchange -T -a y" >> "$s"
+ echo "lvm vgchange -T -a y $VGVOLUME" >> "$s"
else
echo "LVM_SYSTEM_DIR=/tmp lvm vgscan --mknodes --ignorelockingfailure" >> "$s"
- echo "LVM_SYSTEM_DIR=/tmp lvm vgchange --ignorelockingfailure -a y" >> "$s"
+ echo "LVM_SYSTEM_DIR=/tmp lvm vgchange --ignorelockingfailure -a y $VGVOLUME" >> "$s"
fi
echo "umount /tmp" >> "$s"
# fail to umount
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/398807324938659207036e520c0950a61ef50c11
More information about the pld-cvs-commit
mailing list