1 | .\" $Id: detach.1,v 1.10 1999-07-26 17:21:27 danw Exp $ |
---|
2 | .\" |
---|
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 |
---|
18 | .SH NAME |
---|
19 | detach \- detach a remote file system from your workstation |
---|
20 | .SH SYNOPSIS |
---|
21 | .nf |
---|
22 | detach [-v | -q] [-y | -n] [-z | -h] [-x | -e] [-O] filesystem ... |
---|
23 | detach [options] mountpoint ... |
---|
24 | detach [options] [-t type] [-C] [-a | -H host ...] |
---|
25 | .fi |
---|
26 | .SH DESCRIPTION |
---|
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. |
---|
32 | |
---|
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. |
---|
36 | |
---|
37 | The following options are available in |
---|
38 | .I detach\fP: |
---|
39 | |
---|
40 | .TP 8 |
---|
41 | .I --verbose (-v) |
---|
42 | Display verbose information about the success of the detach. This is |
---|
43 | the default. |
---|
44 | .TP 8 |
---|
45 | .I --quiet (-q) |
---|
46 | Don't display verbose information. |
---|
47 | .TP 8 |
---|
48 | .I --all (-a) |
---|
49 | Attempt to detach all filesystems which had been attached using the |
---|
50 | \fIattach\fP command. |
---|
51 | .TP 8 |
---|
52 | .I --unmap (-y) |
---|
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. |
---|
56 | .TP 8 |
---|
57 | .I --nomap (-n) |
---|
58 | Do not attempt to remove authentication for the user from the |
---|
59 | filesystem server. |
---|
60 | .TP 8 |
---|
61 | .I --zephyr (-z) |
---|
62 | Remove \fIZephyr\fP subscription information about the server host. |
---|
63 | This is the default. |
---|
64 | .TP 8 |
---|
65 | .I --nozephyr (-h) |
---|
66 | Don't remove \fIZephyr\fP subscription information about the server host. |
---|
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) |
---|
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. |
---|
76 | Type --type option can be used to specify the filesystem type. |
---|
77 | .TP 8 |
---|
78 | .I --noexplicit (-x) |
---|
79 | Tell \fIdetach\fP to interpret the \fIfilesystem\fP as a Hesiod name. |
---|
80 | This is the default. |
---|
81 | .TP 8 |
---|
82 | .I --override (-O) |
---|
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. |
---|
85 | .TP 8 |
---|
86 | .I --host \fIhost\fP (-H \fIhost\fP) |
---|
87 | Requests detach to detach all remote filesystems whose fileserver |
---|
88 | matches the specified host. |
---|
89 | .TP 8 |
---|
90 | .I --clean (-C) |
---|
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. |
---|
93 | |
---|
94 | .SH DIAGNOSTICS |
---|
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.) |
---|
101 | |
---|
102 | .SH FILES |
---|
103 | /etc/athena/attach.conf |
---|
104 | .br |
---|
105 | /var/athena/attachtab/ |
---|
106 | |
---|
107 | .SH "SEE ALSO" |
---|
108 | attach(1), attach.conf(5) |
---|
109 | |
---|
110 | .SH AUTHOR |
---|
111 | Dan Winship, MIT Information Systems |
---|
112 | .PP |
---|
113 | based on the original detach by |
---|
114 | .br |
---|
115 | Robert French, Project Athena |
---|
116 | .PP |
---|
117 | Copyright 1988, 1998 Massachusetts Institute of Technology |
---|