openafs/src/vfsck/mount

58 lines
1.5 KiB
Plaintext
Raw Normal View History

2000-11-04 02:13:13 +00:00
#!/sbin/sh
2000-11-04 10:01:08 +00:00
# Copyright 2000, International Business Machines Corporation and others.
# All Rights Reserved.
#
# This software has been released under the terms of the IBM Public
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
2000-11-04 02:13:13 +00:00
# @(#) $Revision$
#
##################################################################
#
# Name :
# mount (afs) - /sbin/fs/afs/mount
#
# Description
# This file contains scripts/commands necessary to mount
# the afs file systems.
#
# It should be invoked by the generic mountall only.
#
# Input Parameters:
# None
#
# Expected results:
# see description.
#
# Side effects of this test:
# none
#
# Supporting files and Relationship:
# i) various "/sbin/fs/afs" commands are used by this script.
# ii) generic bcheckrc scrtipt located in the /sbin
# directory invokes this script.
#
#
##################################################################
#
#
# Description - This function is used by mountall to mount all the afs
# file systems in the static file system table, /etc/fstab.
#
# Result values - code returned from hfs mount.
#
# Used (exclusively) by - /sbin/mountall
#
# The $1 parameter has the form -Fafs. This is to be filtered before
# the arguments are passed onto the hfs mount.
/sbin/fs/hfs/mount $2 $3 $4 $5 $6 $7 $8 $9
exit $?
#*********************************************************************
# End of mount (afs)
#*********************************************************************