On 08/02/06, Will McDonald wmcdonald@gmail.com wrote:
"mount --bind" is the same as "mount -o bind"
So I can just have bind as an option in haresources for that particular mount.
I was just writing that :)
Heh. Thanks.
Damn. It appears the Heartbeat resource.d/Filesystem script's checking to ensure the first device is a valid block device. :o\
case $DEVICE in -*) # Oh... An option to mount instead... Typically -U or -L ;; [^/]*:/*) # An NFS filesystem specification... ;; *) if [ ! -b "$DEVICE" ] ; then ha_log "ERROR: Couldn't find device $DEVICE. Expected /dev/??? to exist" usage exit 1 fi;;
Ah well. I'll just make a Filesystem.local for --bind mounts and comment the block device check.
Will.