Large overhaul of Filesystem_stop. Checkpoint commit. Addresses: - Filesystem_status was using /proc/mounts, which is unportable.   Encapsulate into list_mounts() function which takes advantage of this   if present, and calls mount otherwise. - Unify handling of nested mounts with the handling of the mount itself. - Never call fuser if the attempt to umount succeeded, but return   success directly. - If it didn't, send signals, sleep a bit, retry. - Use umount -f for network filesystems. - No need to call umount or fuser differently for block device mounts or   others; using the mountpoint always works. - Reindent Filesystem_stop() be at least consistent with _some_ other   parts of the script. ;-) - Split out OCFS2 specific handling in stop code path.
Large overhaul of Filesystem_stop. Checkpoint commit. Addresses:
- Filesystem_status was using /proc/mounts, which is unportable.
  Encapsulate into list_mounts() function which takes advantage of this
  if present, and calls mount otherwise.
- Unify handling of nested mounts with the handling of the mount itself.
- Never call fuser if the attempt to umount succeeded, but return
  success directly.
- If it didn't, send signals, sleep a bit, retry.
- Use umount -f for network filesystems.
- No need to call umount or fuser differently for block device mounts or
  others; using the mountpoint always works.
- Reindent Filesystem_stop() be at least consistent with _some_ other
  parts of the script. ;-)
- Split out OCFS2 specific handling in stop code path.

CVS patchset: 9917
CVS date: 2006/06/21 19:04:03

--HG--
extra : convert_revision : cf8dcac35e3372c0c659d22890c8899144ca133b

asp24/resource-agents,stevenraspudic/resource-agents,stevenraspudic/resource-agents,asp24/resource-agents,asp24/resource-agents,stevenraspudic/resource-agents