diff options
author | Christian Zoffoli <xmerlin@gentoo.org> | 2005-03-13 13:35:30 +0000 |
---|---|---|
committer | Christian Zoffoli <xmerlin@gentoo.org> | 2005-03-13 13:35:30 +0000 |
commit | ebce70d8107954647aff5d2797450417d0b12b84 (patch) | |
tree | b7a166c2f2720f5685dcd22e2f25dd0671b1582d /sys-cluster | |
parent | new upstream release (diff) | |
download | historical-ebce70d8107954647aff5d2797450417d0b12b84.tar.gz historical-ebce70d8107954647aff5d2797450417d0b12b84.tar.bz2 historical-ebce70d8107954647aff5d2797450417d0b12b84.zip |
fixed device check/creation closed bug #84871
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/drbd/ChangeLog | 6 | ||||
-rw-r--r-- | sys-cluster/drbd/Manifest | 10 | ||||
-rwxr-xr-x | sys-cluster/drbd/files/drbd-0.7-init | 6 |
3 files changed, 13 insertions, 9 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/Manifest b/sys-cluster/drbd/Manifest index 66b54f45b887..9620f70390e8 100644 --- a/sys-cluster/drbd/Manifest +++ b/sys-cluster/drbd/Manifest @@ -1,7 +1,7 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 c0b8d6e39e938cf11a9a82acd82e7960 ChangeLog 5235 +MD5 e4a06781a8c68a55d7967c22f42b36e0 ChangeLog 5409 MD5 a64b9a1937a5cfc2fbaf373521f65d47 metadata.xml 223 MD5 1f4fc97c6b0ebe088c103071f8bcad82 drbd-0.6.12-r1.ebuild 2150 MD5 d76b2aed9c6bb9b15baa7b1d8195c2f0 drbd-0.7.10.ebuild 2182 @@ -11,13 +11,13 @@ MD5 7416c44daab264a36cc8c5a2c35e757f files/0.6.12-scripts-Makefile.patch 1072 MD5 52dc2e272f064349f8f70277159d4a5f files/0.6.12-module-Makefile.patch 776 MD5 3959588a14b9fba5df432a29d00fa63f files/digest-drbd-0.6.12-r1 63 MD5 f8ceed0b6be2ded4cdb079d38ac0c3d0 files/0.6.12-Makefile.vars.patch 675 -MD5 e33214ec0e90e010d12ce520b048d44a files/drbd-0.7-init 1595 +MD5 563859250083021b2005d75b1686128c files/drbd-0.7-init 1601 MD5 cc42f194896b14c87944e9a5c5aaebf9 files/drbd-0.7-module-Makefile.patch 948 MD5 96f405e763a4e7f0735cedc0277c3703 files/digest-drbd-0.7.10 63 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) -iD8DBQFCLzVsgMUyd/cdjWsRAkmEAJ493SQwRLaOTNjl4+276hJ9sS/0jACgjUI1 -nw3GSR130pZgU71/dTS9LNk= -=c5Iy +iD8DBQFCNEGUgMUyd/cdjWsRAu7GAJ9Lxur18RNZJl+ZwgLnX1It9JswrACfbuUK +QN6OIOipGVa+4EJKDbBqqyM= +=9J/j -----END PGP SIGNATURE----- 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 } |