diff options
author | P. J. McDermott <pj@pehjota.net> | 2015-05-25 20:33:22 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2015-05-25 20:33:22 (EDT) |
commit | 65489cd1069b6e9cb592508103211984c43d3bbf (patch) | |
tree | bc76a67b979f8bf072c580ef90f3663dcb06c3e3 /man/prokit-shell.8in | |
parent | b76ff4956a6a6904d07b9b89e5d75decbd488675 (diff) | |
parent | 2f95b9bef0fdcd737fbd58cdb5acc405a6b58da4 (diff) |
Merge branch 'feature/block-device-mounting'
Diffstat (limited to 'man/prokit-shell.8in')
-rw-r--r-- | man/prokit-shell.8in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/man/prokit-shell.8in b/man/prokit-shell.8in index f42b15a..bb98ae1 100644 --- a/man/prokit-shell.8in +++ b/man/prokit-shell.8in @@ -5,12 +5,15 @@ prokit-shell \- Run a shell in an isolated environment .SH SYNOPSIS -\fBprokit shell\fP \fIroot-dir\fP [\fIcommand\fP [\fIargument\fP ...]] +\fBprokit shell\fP \fIroot\fP [\fIcommand\fP [\fIargument\fP ...]] .SH DESCRIPTION \fBprokit shell\fP starts a shell in an isolated file system environment (using \fBchroot\fP(8)) with basic file systems mounted. .P +If \fIroot\fP is a block device node, the block device is mounted and a shell is +started in its file system. +.P If a \fIcommand\fP is given (with optional \fIargument\fPs), it is executed in a non-interactive shell. @@ -20,6 +23,8 @@ non-interactive shell. # prokit shell $root echo Hello world .IP \[bu] # prokit shell $root 'opkg install build-essential-$(cat /etc/proteanos_arch)' +.IP \[bu] +# prokit shell /dev/sdb1 .SH COPYRIGHT Copyright (C) 2014 Patrick "P. J." McDermott |