|author||Peter Seebach <seebs@eee12.(none)>||2010-03-24 19:31:58 -0500|
|committer||Peter Seebach <seebs@eee12.(none)>||2010-03-25 16:43:13 -0500|
initial chroot() support
Add chroot() and a large number of things needed to make it work. The list of intercepted calls is large but not exhaustive.
Diffstat (limited to 'pseudo.1')
1 files changed, 26 insertions, 0 deletions
@@ -20,6 +20,7 @@
.RB [ \-dflv ]
.RB [ \-P\ prefix ]
+.RB [ \-rR\ root ]
.RB [ \-t\ timeout ]
.RB [ command ]
@@ -122,17 +123,35 @@ detaches from the calling environment and runs as a daemon. The command
returns successfully if this appears to have succeeded, otherwise it
produces an error message and returns a failure status.
.BI \-f\ (foreground)
Run in the foreground;
runs as a server, and does not try to start other commands. This mode
is useful for debugging.
.BI \-l\ (log)
Enable logging. The
daemon will log every filesystem transaction in the log database.
+.BI \-r\ root
+.BI \-R\ root
+environment variable, running as though the program had called
+on the specified path. With
+.BR \-r ,
+this implies changing the working directory to the specified directory;
+.BR \-R ,
+it does not.
.B \-t timeout
Set the timeout of the
@@ -143,6 +162,7 @@ daemon shuts down automatically. The server never shuts down while it
has attached clients. Note that this does not prevent continued use;
new clients can restart the daemon if they need it.
.BI \-v\ (verbose)
Increase the verbosity of the
@@ -244,6 +264,12 @@ The following environment variables are used directly by
.IR pseudo :
+This variable holds the current emulated
+path. Paths that are relative to this are treated as though they were
+instead relative to the filesystem root.
This variable holds the "debug level" for