Revision 11460,
1.1 KB
checked in by ghudson, 27 years ago
(diff) |
From nathanw: fix path reference to attachandrun.
|
Line | |
---|
1 | .TH ATTACHANDRUN 1 "2 April 1998" |
---|
2 | .ds ]W MIT Athena |
---|
3 | .SH NAME |
---|
4 | attachandrun - attach a filesystem and run a program from it |
---|
5 | |
---|
6 | .SH SYNOPSIS |
---|
7 | attachandrun locker program argv0 [argv1 ...] |
---|
8 | |
---|
9 | .SH DESCRIPTION |
---|
10 | \fIattachandrun\fR combines the operations of attaching a locker, |
---|
11 | locating its binary directory, and executing a program out of that |
---|
12 | directory. Running a program via \fIattachandrun\fR should be |
---|
13 | indistinguishable from running it out of its locker by hand. A typical |
---|
14 | ``attach and run'' script would look like: |
---|
15 | |
---|
16 | #!/bin/sh |
---|
17 | .br |
---|
18 | exec /bin/athena/attachandrun moira blanche "$0" "$@" |
---|
19 | |
---|
20 | .SH NOTE |
---|
21 | The programs \fIadd(1)\fP, \fIattach(1)\fP, \fIattachandrun(1)\fP, |
---|
22 | \fIdetach(1)\fP, \fInfsid(1)\fP, and \fIzinit(8)\fP are all really the |
---|
23 | same program. Typically \fIattachandrun\fR, \fIdetach(1)\fP, |
---|
24 | \fInfsid(1)\fP and \fIzinit(8)\fP (but not \fIadd(1)\fP) are links to |
---|
25 | \fIattach\fP. Argv[0] is used to determine which one of the programs |
---|
26 | is run. This may be overridden by specifying -P \fIprogname\fP, where |
---|
27 | \fIprogname\fP should be one of the above five program names. |
---|
28 | |
---|
29 | .SH "SEE ALSO" |
---|
30 | attach(1), add(1) |
---|
Note: See
TracBrowser
for help on using the repository browser.