[20644] | 1 | .\" $Id: attach.1,v 1.16 2004-08-11 15:20:17 ghudson Exp $ |
---|
[3259] | 2 | .\" |
---|
[12589] | 3 | .\" Copyright 1997 by the Massachusetts Institute of Technology. |
---|
| 4 | .\" |
---|
| 5 | .\" Permission to use, copy, modify, and distribute this |
---|
| 6 | .\" software and its documentation for any purpose and without |
---|
| 7 | .\" fee is hereby granted, provided that the above copyright |
---|
| 8 | .\" notice appear in all copies and that both that copyright |
---|
| 9 | .\" notice and this permission notice appear in supporting |
---|
| 10 | .\" documentation, and that the name of M.I.T. not be used in |
---|
| 11 | .\" advertising or publicity pertaining to distribution of the |
---|
| 12 | .\" software without specific, written prior permission. |
---|
| 13 | .\" M.I.T. makes no representations about the suitability of |
---|
| 14 | .\" this software for any purpose. It is provided "as is" |
---|
| 15 | .\" without express or implied warranty. |
---|
| 16 | .\" |
---|
| 17 | .TH ATTACH 1 |
---|
[3259] | 18 | .SH NAME |
---|
| 19 | attach \- attach a remote file system to your workstation |
---|
| 20 | .SH SYNOPSIS |
---|
[12589] | 21 | .TP 8 |
---|
[3259] | 22 | attach |
---|
[24391] | 23 | [-v | -q | -p] [-z | -h] locker ... |
---|
[12589] | 24 | .PP |
---|
| 25 | .nf |
---|
| 26 | attach -l \fIfilesystem\fP |
---|
[3259] | 27 | .fi |
---|
| 28 | .SH DESCRIPTION |
---|
[12589] | 29 | .I attach |
---|
| 30 | is a filesystem-independent utility which allows you attach a |
---|
[24391] | 31 | filesystem to a directory hierarchy on your workstation. Currently, |
---|
| 32 | the only supported filesystem type is AFS. |
---|
[3259] | 33 | |
---|
[24391] | 34 | .B NOTE: |
---|
| 35 | .I attach |
---|
| 36 | is provided mainly for compatibility with previous versions of Athena. |
---|
| 37 | With Debathena, \fI/mit\fP is auto-mounted, so you can access any path |
---|
| 38 | under \fI/mit\fP without explicitly attaching the locker. |
---|
| 39 | |
---|
| 40 | Attach looks up the \fIfilesystem\fP in |
---|
[12589] | 41 | .BR Hesiod (3) |
---|
| 42 | to retrieve the file system type, the server host, the name by which |
---|
| 43 | the file system is known to the server (e.g., an NFS server |
---|
| 44 | mountpoint), and the default mount point and mode (read-only, |
---|
[24391] | 45 | read-write). |
---|
[3259] | 46 | |
---|
[12589] | 47 | By default, |
---|
| 48 | .I attach |
---|
| 49 | will attempt to make sure the user is authenticated to the remote |
---|
| 50 | filesystem, by getting tokens in the appropriate cell for an AFS |
---|
[24391] | 51 | locker. |
---|
[3259] | 52 | |
---|
[12589] | 53 | The following arguments to \fIattach\fP modify its behavior. Default |
---|
| 54 | options are marked as such. Unless otherwise marked, all arguments are |
---|
| 55 | processed \fIin order\fP. Thus, if a -v option is followed by a -q |
---|
| 56 | option, the -q option will take precedence (for any lockers that |
---|
| 57 | appear after the -q on the command line). The long and short forms of |
---|
| 58 | each option function identically. |
---|
[3259] | 59 | |
---|
[5228] | 60 | If no arguments are given to \fIattach\fP, a list of the currently |
---|
[12589] | 61 | attached filesystems will be printed. |
---|
[3259] | 62 | |
---|
[12589] | 63 | .TP 8 |
---|
| 64 | .I --verbose (-v) |
---|
[3259] | 65 | Display verbose information about a mounted filesystem, such as the |
---|
[12589] | 66 | AFS path or NFS server and the server's filesystem name, if the attach |
---|
| 67 | is successful. This is the default. Use of this option automatically |
---|
| 68 | supresses the --printpath option. |
---|
| 69 | .TP 8 |
---|
| 70 | .I --quiet (-q) |
---|
[3259] | 71 | Don't display verbose information. Error messages will still be printed. |
---|
[12589] | 72 | .TP 8 |
---|
| 73 | .I --printpath (-p) |
---|
| 74 | \fIattach\fP normally prints a status message on its standard output |
---|
| 75 | indicating the success or failure of the attach operation. This flag |
---|
| 76 | causes the pathname of the mounted filesystem to be printed instead. |
---|
| 77 | This was used by the old "add" aliases. Use of this option |
---|
[3259] | 78 | automatically surpresses the -verbose option. |
---|
[12589] | 79 | .TP 8 |
---|
| 80 | .I --zephyr (-z) |
---|
| 81 | Subscribe to |
---|
| 82 | .BR Zephyr (1) |
---|
| 83 | messages about the server host. This is the default. |
---|
| 84 | .TP 8 |
---|
| 85 | .I --nozephyr (-h) |
---|
| 86 | Don't subscribe to |
---|
| 87 | .BR Zephyr (1) |
---|
| 88 | messages about the server host. |
---|
[3259] | 89 | .PP |
---|
| 90 | If the default mount-point for a filesystem (or the mount-point |
---|
| 91 | specified with the -m option) does not exist, it is created. Any |
---|
| 92 | directories in the path that do not exist are also created. If a |
---|
| 93 | directory can't be created, the attach fails. When the filesystem is |
---|
| 94 | detached, any directories that were created during the attach are |
---|
[12589] | 95 | deleted, if possible. |
---|
[3259] | 96 | |
---|
| 97 | .SH DIAGNOSTICS |
---|
[12589] | 98 | If \fIattach\fP is unable to initalize the locker library, it will |
---|
[24391] | 99 | exit with status 1. If \fIattach\fP encounters a problem attaching a |
---|
[12589] | 100 | locker, it will continue trying to attach any remaining lockers on the |
---|
| 101 | command line, but eventually exit with status 2. |
---|
[3259] | 102 | |
---|
| 103 | .SH FILES |
---|
[12589] | 104 | /etc/athena/attach.conf |
---|
[3259] | 105 | .br |
---|
[12589] | 106 | /var/athena/attachtab/ |
---|
[17985] | 107 | .br |
---|
[3259] | 108 | |
---|
[24391] | 109 | .SH BUGS |
---|
| 110 | NFS and RVD lockers are no longer supported. |
---|
| 111 | |
---|
| 112 | .SH FEATURES |
---|
| 113 | NFS and RVD lockers are no longer supported. |
---|
| 114 | |
---|
[3259] | 115 | .SH "SEE ALSO" |
---|
[24391] | 116 | add(1), detach(1) |
---|
[3259] | 117 | |
---|
[3260] | 118 | .SH AUTHORS |
---|
[24391] | 119 | SIPB Debathena Project |
---|
[12589] | 120 | .PP |
---|
[24391] | 121 | Previous versions by: |
---|
[12589] | 122 | .br |
---|
[24391] | 123 | Dan Winship, MIT Information Systems |
---|
| 124 | .br |
---|
[3259] | 125 | Robert French, Project Athena |
---|
| 126 | .br |
---|
[3260] | 127 | Theodore Ts'o, Project Athena |
---|
| 128 | .br |
---|
| 129 | John Carr, Project Athena |
---|
| 130 | .br |
---|
[3755] | 131 | Richard Basch, Project Athena |
---|
[12589] | 132 | .PP |
---|
| 133 | Copyright 1988, 1990, 1998 Massachusetts Institute of Technology |
---|