source: trunk/athena/bin/attach/detach.1 @ 12589

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