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