Description of problem: src/resources/fs.sh is repeatedly printing out a confusing message in function isMounted() when comparing two paths: <warning> Device /dev/mapper/VolGroup01-LogVol01 is mounted on /mnt/storage instead of /mnt/storage/ Version-Release number of selected component (if applicable): rgmanager-1.9.54-1 How reproducible: Specify a path with a trailing slash as a mount-point for a file-system resource. <fs device="/dev/VolGroup01/LogVol01" force_fsck="0" force_unmount="1" fsid="95145" fstype="ext3" mountpoint="/mnt/storage/" name="disko" options="" self_fence="0"/> Steps to Reproduce: 1. 2. 3. Actual results: Warning message is printed. Expected results: No warning message is printed, as the path is the same. Additional info: I'm attaching a small patch that strips out the trailing slash before comparing the two strings.
Created attachment 142058 [details] patch that makes the path comparison a bit smarter
Patch in CVS.