summaryrefslogtreecommitdiffstats
path: root/dev/prokit/prokit-shell.8.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'dev/prokit/prokit-shell.8.mdwn')
-rw-r--r--dev/prokit/prokit-shell.8.mdwn25
1 files changed, 20 insertions, 5 deletions
diff --git a/dev/prokit/prokit-shell.8.mdwn b/dev/prokit/prokit-shell.8.mdwn
index f454a0f..7466403 100644
--- a/dev/prokit/prokit-shell.8.mdwn
+++ b/dev/prokit/prokit-shell.8.mdwn
@@ -1,4 +1,4 @@
-[[!meta title="prokit-shell"]]
+[[!meta title="PROKIT-SHELL"]]
<a href="#NAME">NAME</a><br>
<a href="#SYNOPSIS">SYNOPSIS</a><br>
@@ -14,8 +14,8 @@
</h2>
-<p style="margin-left:11%; margin-top: 1em">prokit-shell
-&minus; Run a shell in an isolated environment</p>
+<p style="margin-left:11%; margin-top: 1em">prokit-shell -
+Run a shell in an isolated environment</p>
<h2>SYNOPSIS
<a name="SYNOPSIS"></a>
@@ -23,7 +23,7 @@
<p style="margin-left:11%; margin-top: 1em"><b>prokit
-shell</b> <i>root-dir</i> [<i>command</i> [<i>argument</i>
+shell</b> <i>root</i> [<i>command</i> [<i>argument</i>
...]]</p>
<h2>DESCRIPTION
@@ -36,6 +36,10 @@ shell</b> starts a shell in an isolated file system
environment (using <b>chroot</b>(8)) with basic file systems
mounted.</p>
+<p style="margin-left:11%; margin-top: 1em">If <i>root</i>
+is a block device node, the block device is mounted and a
+shell is started in its file system.</p>
+
<p style="margin-left:11%; margin-top: 1em">If a
<i>command</i> is given (with optional <i>argument</i>s), it
is executed in a non-interactive shell.</p>
@@ -71,6 +75,17 @@ world</p> </td></tr>
<p># prokit shell $root &rsquo;opkg install
build-essential-$(cat /etc/proteanos_arch)&rsquo;</p></td></tr>
+<tr valign="top" align="left">
+<td width="11%"></td>
+<td width="1%">
+
+
+<p>&bull;</p></td>
+<td width="10%"></td>
+<td width="78%">
+
+
+<p># prokit shell /dev/sdb1</p></td></tr>
</table>
<h2>COPYRIGHT
@@ -79,7 +94,7 @@ build-essential-$(cat /etc/proteanos_arch)&rsquo;</p></td></tr>
<p style="margin-left:11%; margin-top: 1em">Copyright (C)
-2014 Patrick &quot;P. J.&quot; McDermott</p>
+2014 Patrick McDermott</p>
<p style="margin-left:11%; margin-top: 1em">The ProteanOS
Development Kit is free software: you can redistribute it