#! /bin/ksh # # This is the mmfs mount helper. # Find out if the current kernel is 64-bit. osVersion=$(/bin/uname -v) kernelMode="32" [[ $osVersion -ge 5 ]] && kernelMode=$(/usr/lpp/mmfs/bin/mmkerninfo) if [[ $kernelMode = 64 && -x /usr/lpp/mmfs/bin/mmfsmount64 ]] then cmd=/usr/lpp/mmfs/bin/mmfsmount64 else cmd=/usr/lpp/mmfs/bin/mmfsmount fi # Invoke the real mount helper $cmd "$@"