| 1 | #!/sbin/sh |
| 2 | # @(#) $Revision$ |
| 3 | # |
| 4 | ################################################################## |
| 5 | # |
| 6 | # Name : |
| 7 | # umount (afs) - /sbin/fs/afs/umount |
| 8 | # |
| 9 | # Description |
| 10 | # This file contains scripts/commands necessary to umount |
| 11 | # the afs file system. |
| 12 | # |
| 13 | # It should be invoked by the generic umountall only. |
| 14 | # |
| 15 | # Input Parameters: |
| 16 | # None |
| 17 | # |
| 18 | # Expected results: |
| 19 | # see description. |
| 20 | # |
| 21 | # Side effects of this test: |
| 22 | # none |
| 23 | # |
| 24 | # Supporting files and Relationship: |
| 25 | # i) various "/sbin/fs/afs" commands are used by this script. |
| 26 | # ii) generic bcheckrc scrtipt located in the /sbin |
| 27 | # directory invokes this script. |
| 28 | # |
| 29 | # |
| 30 | ################################################################## |
| 31 | # |
| 32 | # |
| 33 | # Description - This function is used by umountall to unmount afs |
| 34 | # file system. |
| 35 | # |
| 36 | # Result values - none |
| 37 | # |
| 38 | # Used (exclusively) by - /sbin/umountall |
| 39 | # |
| 40 | |
| 41 | |
| 42 | # we are passed in AFS /afs. We are supposed to unmount the AFS |
| 43 | # file system. Currently, we cannot unmount the AFS file system |
| 44 | # dynimacally. The only way to do this is to reboot the machine. |
| 45 | |
| 46 | # do nothing |
| 47 | exit 1 |
| 48 | |
| 49 | #********************************************************************* |
| 50 | # End of umount (afs) |
| 51 | #********************************************************************* |