[13425] | 1 | .\" $Id: detach.1,v 1.10 1999-07-26 17:21:27 danw Exp $ |
---|
[3270] | 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 DETACH 1 |
---|
[3270] | 18 | .SH NAME |
---|
| 19 | detach \- detach a remote file system from your workstation |
---|
| 20 | .SH SYNOPSIS |
---|
| 21 | .nf |
---|
[12589] | 22 | detach [-v | -q] [-y | -n] [-z | -h] [-x | -e] [-O] filesystem ... |
---|
[13425] | 23 | detach [options] mountpoint ... |
---|
[12589] | 24 | detach [options] [-t type] [-C] [-a | -H host ...] |
---|
| 25 | .fi |
---|
[3270] | 26 | .SH DESCRIPTION |
---|
[12589] | 27 | .I detach |
---|
| 28 | performs the appropriate filesystem-dependent operations to |
---|
| 29 | disassociate a filesystem which was attached using |
---|
| 30 | .BR attach (1) |
---|
| 31 | from the workstation. |
---|
[3270] | 32 | |
---|
[12589] | 33 | The \fI-a\fP form is used to detach all attached filesystems from the |
---|
| 34 | workstation. This is typically run when the workstation reactivates, |
---|
| 35 | so as to flush all user mounted filesystems from the workstation. |
---|
[3270] | 36 | |
---|
[12589] | 37 | The following options are available in |
---|
| 38 | .I detach\fP: |
---|
[3270] | 39 | |
---|
[12589] | 40 | .TP 8 |
---|
| 41 | .I --verbose (-v) |
---|
[3270] | 42 | Display verbose information about the success of the detach. This is |
---|
| 43 | the default. |
---|
[12589] | 44 | .TP 8 |
---|
| 45 | .I --quiet (-q) |
---|
[3270] | 46 | Don't display verbose information. |
---|
[12589] | 47 | .TP 8 |
---|
| 48 | .I --all (-a) |
---|
[3270] | 49 | Attempt to detach all filesystems which had been attached using the |
---|
[5228] | 50 | \fIattach\fP command. |
---|
[12589] | 51 | .TP 8 |
---|
| 52 | .I --unmap (-y) |
---|
[3270] | 53 | Attempt to remove authentication for the user from the filesystem |
---|
| 54 | server. The authentication will be removed even if the detach fails. |
---|
| 55 | This is the default. |
---|
[12589] | 56 | .TP 8 |
---|
| 57 | .I --nomap (-n) |
---|
[3270] | 58 | Do not attempt to remove authentication for the user from the |
---|
| 59 | filesystem server. |
---|
[12589] | 60 | .TP 8 |
---|
| 61 | .I --zephyr (-z) |
---|
[5228] | 62 | Remove \fIZephyr\fP subscription information about the server host. |
---|
[12589] | 63 | This is the default. |
---|
| 64 | .TP 8 |
---|
| 65 | .I --nozephyr (-h) |
---|
[5228] | 66 | Don't remove \fIZephyr\fP subscription information about the server host. |
---|
[12589] | 67 | .TP 8 |
---|
| 68 | .I --type \fIfilesystem-type\fP (-t \fIfilesystem-type\fP) |
---|
| 69 | Used with the --all option to detach all filesystems of a particular |
---|
| 70 | type. If not specified, the --all option will detach all filesystems. |
---|
| 71 | .TP 8 |
---|
| 72 | .I --explicit (-e) |
---|
[5228] | 73 | Change the behavior of \fIdetach\fP such that the \fIfilesystem\fP is |
---|
| 74 | now interpreted as \fIhost:directory\fP (in the case of NFS) or |
---|
| 75 | \fIhost:pack\fP (in the case of RVD) instead of as a Hesiod name. |
---|
[12589] | 76 | Type --type option can be used to specify the filesystem type. |
---|
| 77 | .TP 8 |
---|
| 78 | .I --noexplicit (-x) |
---|
[5228] | 79 | Tell \fIdetach\fP to interpret the \fIfilesystem\fP as a Hesiod name. |
---|
| 80 | This is the default. |
---|
[12589] | 81 | .TP 8 |
---|
| 82 | .I --override (-O) |
---|
[5228] | 83 | This option allows the trusted users to force a filesystem to be |
---|
| 84 | detached, even if it was attached by another user or locked. |
---|
[12589] | 85 | .TP 8 |
---|
| 86 | .I --host \fIhost\fP (-H \fIhost\fP) |
---|
[3270] | 87 | Requests detach to detach all remote filesystems whose fileserver |
---|
| 88 | matches the specified host. |
---|
[12589] | 89 | .TP 8 |
---|
| 90 | .I --clean (-C) |
---|
[5228] | 91 | This option indicates that the specified filesystems should be detached |
---|
| 92 | if they are not wanted by anyone who is in \fI/etc/passwd\fP. |
---|
[3270] | 93 | |
---|
| 94 | .SH DIAGNOSTICS |
---|
[12589] | 95 | If \fIdetach\fP is unable to initalize the locker library, it will |
---|
| 96 | exist with status 1. If \fIdetach\fP encounters a problem detaching a |
---|
| 97 | locker, it will continue trying to detach any remaining lockers on the |
---|
| 98 | command line, but eventually exit with status 2. (This does not apply |
---|
| 99 | to \fIdetach -a\fP or \fIdetach -H\fP, which will exit with status 0 |
---|
| 100 | if they successfully detach any locker.) |
---|
[3270] | 101 | |
---|
| 102 | .SH FILES |
---|
[12589] | 103 | /etc/athena/attach.conf |
---|
[3270] | 104 | .br |
---|
[12589] | 105 | /var/athena/attachtab/ |
---|
[3270] | 106 | |
---|
| 107 | .SH "SEE ALSO" |
---|
[12589] | 108 | attach(1), attach.conf(5) |
---|
[3270] | 109 | |
---|
| 110 | .SH AUTHOR |
---|
[12589] | 111 | Dan Winship, MIT Information Systems |
---|
| 112 | .PP |
---|
| 113 | based on the original detach by |
---|
[3270] | 114 | .br |
---|
[12589] | 115 | Robert French, Project Athena |
---|
| 116 | .PP |
---|
| 117 | Copyright 1988, 1998 Massachusetts Institute of Technology |
---|