diff options
Diffstat (limited to 'sys-cluster/drbd')
-rw-r--r-- | sys-cluster/drbd/ChangeLog | 6 | ||||
-rwxr-xr-x | sys-cluster/drbd/files/drbd-0.7-init | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/sys-cluster/drbd/ChangeLog b/sys-cluster/drbd/ChangeLog index a2853e9e7efc..6196830b6883 100644 --- a/sys-cluster/drbd/ChangeLog +++ b/sys-cluster/drbd/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-cluster/drbd # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/ChangeLog,v 1.27 2005/03/09 17:41:45 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/ChangeLog,v 1.28 2005/03/13 13:35:30 xmerlin Exp $ + + 13 Mar 2005; Christian Zoffoli <xmerlin@gentoo.org> files/drbd-0.7-init: + fixed device check/creation closed bug #84871, thanks to joram agten + <joramagten@hotmail.com> 09 Mar 2005; Christian Zoffoli <xmerlin@gentoo.org> drbd-0.7.10.ebuild: removed inherit check-kernel diff --git a/sys-cluster/drbd/files/drbd-0.7-init b/sys-cluster/drbd/files/drbd-0.7-init index 033884a35626..02e3bba1519c 100755 --- a/sys-cluster/drbd/files/drbd-0.7-init +++ b/sys-cluster/drbd/files/drbd-0.7-init @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/files/drbd-0.7-init,v 1.3 2005/03/01 12:11:40 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/files/drbd-0.7-init,v 1.4 2005/03/13 13:35:30 xmerlin Exp $ opts="${opts} reload" @@ -27,8 +27,8 @@ create_devices() { for RESOURCE in $RESOURCES; do DEVICE=`$DRBDADM sh-dev $RESOURCE` - if [ ! -f ${DEVICE} ]; then - mknod $DEVICE b 147 ${RESOURCE/drbd/} + if [ ! -b ${DEVICE} ]; then + mknod $DEVICE b 147 ${DEVICE/\/dev\/drbd\/} fi done } |