Harald Dunkel wrote:
> Hi folks,
> 
> Maybe a stupid question, but I haven't found it answered
> anywhere: How can I provide empty arguments to the "old"
> resource scripts via haresources? Something like
> 
>       Filesystem::/space/data::/nfs4/data::::bind
> or
>       Filesystem::/space/data::/nfs4/data::""::bind
> 

Attached is a small patch to make the Filesystem script
of 2.1.4 support

        Filesystem::/space/data::/nfs4/data::none::bind


Hope this helps. Regards

Harri

--- heartbeat-2.1.4.orig/resources/OCF/Filesystem	2007-12-21 16:32:27.000000000 +0100
+++ heartbeat-2.1.4/resources/OCF/Filesystem	2009-10-16 14:27:27.000000000 +0200
@@ -802,6 +802,10 @@
 	;;
 esac
 
+if [ "x$FSTYPE" = "xnone" ]; then
+    FSTYPE=""
+fi
+
 case $OP in
 start)	Filesystem_start
 	;;
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to