source: gpfs_3.1_ker2.6.20/lpp/mmfs/bin/mmfsmnthelp @ 77

Last change on this file since 77 was 16, checked in by rock, 17 years ago
  • Property svn:executable set to *
File size: 392 bytes
RevLine 
[16]1#! /bin/ksh
2#
3# This is the mmfs mount helper.
4
5# Find out if the current kernel is 64-bit.
6osVersion=$(/bin/uname -v)
7kernelMode="32"
8[[ $osVersion -ge 5 ]] && kernelMode=$(/usr/lpp/mmfs/bin/mmkerninfo)
9
10if [[ $kernelMode = 64 && -x /usr/lpp/mmfs/bin/mmfsmount64 ]]
11then
12  cmd=/usr/lpp/mmfs/bin/mmfsmount64
13else
14  cmd=/usr/lpp/mmfs/bin/mmfsmount
15fi
16
17# Invoke the real mount helper
18$cmd "$@"
Note: See TracBrowser for help on using the repository browser.