vfsck: Fix roken fallout
[openafs.git] / src / vfsck / mount
1 #!/sbin/sh
2 # Copyright 2000, International Business Machines Corporation and others.
3 # All Rights Reserved.
4
5 # This software has been released under the terms of the IBM Public
6 # License.  For details, see the LICENSE file in the top-level source
7 # directory or online at http://www.openafs.org/dl/license10.html
8
9 # @(#) $Revision$
10 #
11 ##################################################################
12 #
13 # Name :
14 #        mount (afs) - /sbin/fs/afs/mount
15 #
16 # Description
17 #       This file contains scripts/commands necessary to mount
18 #       the afs file systems.
19 #       
20 #       It should be invoked by the generic mountall only.
21 #
22 # Input Parameters:
23 #       None
24 #
25 # Expected results:
26 #       see description.
27 #
28 # Side effects of this test:
29 #       none
30 #
31 # Supporting files and Relationship:
32 #        i) various "/sbin/fs/afs" commands are used by this script.
33 #       ii) generic bcheckrc scrtipt located in the /sbin
34 #           directory invokes this script.
35 #
36 #
37 ##################################################################
38 #
39 #
40 # Description - This function is used by mountall to mount all the afs 
41 # file systems  in the static file system table, /etc/fstab.
42 #
43 # Result values -  code returned from hfs mount.
44 #
45 # Used (exclusively) by - /sbin/mountall
46 #
47
48
49 # The $1 parameter has the form -Fafs. This is to be filtered before
50 # the arguments are passed onto the hfs mount.
51
52 /sbin/fs/hfs/mount $2 $3 $4 $5 $6 $7 $8 $9  
53 exit $?
54
55 #*********************************************************************
56 # End of mount (afs)
57 #*********************************************************************