summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Edgar <rocket@gentoo.org>2005-06-18 06:42:42 +0000
committerEric Edgar <rocket@gentoo.org>2005-06-18 06:42:42 +0000
commit9590e9e12189eea60da3debef39ae6dd66374d06 (patch)
tree815977063f9369426e73d32ba1b09f04be9fbf38 /sys-fs/lvm2
parentmips love (diff)
downloadhistorical-9590e9e12189eea60da3debef39ae6dd66374d06.tar.gz
historical-9590e9e12189eea60da3debef39ae6dd66374d06.tar.bz2
historical-9590e9e12189eea60da3debef39ae6dd66374d06.zip
Fix device node creation
Diffstat (limited to 'sys-fs/lvm2')
-rwxr-xr-xsys-fs/lvm2/files/lvm2-start.sh6
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