diff options
-rwxr-xr-x | sys-fs/lvm2/files/lvm2-start.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-fs/lvm2/files/lvm2-start.sh b/sys-fs/lvm2/files/lvm2-start.sh index c70e1e0d60d6..f3f0cca03a14 100755 --- a/sys-fs/lvm2/files/lvm2-start.sh +++ b/sys-fs/lvm2/files/lvm2-start.sh @@ -1,5 +1,5 @@ # /lib/rcscripts/addons/lvm2-start.sh -# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/files/lvm2-start.sh,v 1.3 2005/05/25 04:25:01 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/files/lvm2-start.sh,v 1.4 2005/06/18 06:42:42 rocket Exp $ # LVM support for /usr, /home, /opt .... # This should be done *before* checking local @@ -17,11 +17,11 @@ if [[ -z ${CDBOOT} ]] && [[ -x /sbin/vgscan ]] ; then if [[ -d /proc/lvm ]] || grep -qs 'device-mapper' /proc/{devices,misc} ; then ebegin "Setting up the Logical Volume Manager" #still echo stderr for debugging - /sbin/vgscan >/dev/null + /sbin/vgscan --mknodes --ignorelockingfailure >/dev/null if [[ $? == 0 ]] && [[ -x /sbin/vgchange ]] && \ [[ -f /etc/lvmtab || -d /etc/lvm ]] then - /sbin/vgchange -a y >/dev/null + /sbin/vgchange --ignorelockingfailure -a y >/dev/null fi eend $? "Failed to setup the LVM" fi |