diff options
author | Stef Walter <stef@memberwebs.com> | 2004-05-18 18:57:01 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2004-05-18 18:57:01 +0000 |
commit | 266fe880b72098369176cf09c61050d5ad30e253 (patch) | |
tree | 08dd3eacfe79d71cb7d5ca491fe32138019ee667 | |
parent | 934233ed6c9e979d7dff783ff70445ea9d5968fa (diff) |
*** empty log message ***
-rw-r--r-- | jails_man.html | 80 | ||||
-rw-r--r-- | srcx/jstart.c | 2 | ||||
-rw-r--r-- | srcx/util.c | 6 |
3 files changed, 37 insertions, 51 deletions
diff --git a/jails_man.html b/jails_man.html index 2d63ae7..6fc953b 100644 --- a/jails_man.html +++ b/jails_man.html @@ -1,46 +1,38 @@ <HTML> -<BODY> -<PRE> -<!-- Manpage converted by man2html 3.0.1 --> - -</PRE> -<H2>SYNOPSIS</H2><PRE> - <B>jails</B> - - - -</PRE> -<H2>DESCRIPTION</H2><PRE> - The <B>jails</B> command will print a list of all the various - jails running on your system. The hostnames of those jails - are printed. The list is not ordered. - - - -</PRE> -<H2>BUGS</H2><PRE> - I'm sure they're out there. - - - -</PRE> -<H2>AUTHOR</H2><PRE> - Nate Nielsen <nielsen@memberwebs.com> - - - -</PRE> -<H2>SEE ALSO</H2><PRE> - <B>jail(8)</B>, <B>jailer(8)</B> - - - -FreeBSD May 2002 <B>JAILS(8)</B> -</PRE> -<HR> -<ADDRESS> -Man(1) output converted with -<a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a> -</ADDRESS> -</BODY> +<HEAD> +<TITLE>jails(8)</TITLE> +<link rev="made" href="mailto:wosch@FreeBSD.ORG"> +<META name="robots" content="nofollow"> +<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"> +<link rel="stylesheet" type="text/css" href="/nielsen/style.css"> +</HEAD> +<BODY BGCOLOR="#FFFFFF" TEXT="#000000"> + +<H1>Man Page: jails(8)</H1><PRE> +jails(8) BSD System Manager's Manual jails(8) + +<B>NAME</B> + <B>jails</B> - lists hostnames of all running jails on the system + +<B>SYNOPSIS</B> + <B>jails</B> + +<B>DESCRIPTION</B> + The <B>jails</B> command will print a list of all the various jails running on + your system. The hostnames of those jails are printed. The list is not + ordered. + +<B>NOTES</B> + This command is intended only for compatibility with earlier versions of + the <I>jailutils</I> package. The <U>jls(8)</U> command is a better source of jail + information. + +<B>SEE ALSO</B> + <U>jls(8)</U>, <U>jail(8)</U>, <U>jps(8)</U> + +<B>AUTHOR</B> + Nate Nielsen <<A HREF="mailto:nielsen@memberwebs.com">nielsen@memberwebs.com</A>> + +jails May 18, 2004 jails +<H6>Copyright, N. Nielsen [ <a href='./'>back</a> | <a href='../../'>home</a> ]</h6></BODY> </HTML> diff --git a/srcx/jstart.c b/srcx/jstart.c index ab0c0af..15e0fca 100644 --- a/srcx/jstart.c +++ b/srcx/jstart.c @@ -103,7 +103,7 @@ int main(int argc, char* argv[]) static void usage() { - fprintf(stderr, "usage: jstart [-ic] path hostname ip-number [command ...]\n"); + fprintf(stderr, "usage: jstart [-i] path hostname ip-number [command ...]\n"); exit(2); } diff --git a/srcx/util.c b/srcx/util.c index 8591292..b0aeb07 100644 --- a/srcx/util.c +++ b/srcx/util.c @@ -367,7 +367,6 @@ int run_jail_command(const char* jail, const char* cmd, char* args[], int opts) char* env[5]; char* t; int j; - char** x; memset(env, 0, sizeof(env)); @@ -394,8 +393,3 @@ int run_jail_command(const char* jail, const char* cmd, char* args[], int opts) return run_simple_command(jail, cmd, env, args, opts); } - - - - - |