diff options
author | Michal Soltys <soltys@ziu.info> | 2011-12-26 14:29:15 +0800 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2012-01-23 09:48:35 +0100 |
commit | 4401925c822e2f7e927bad4c16e4a08ac6a18d9a (patch) | |
tree | 2d8eb83834e0aff6ab9a8cb5efe096ffa1f588a1 /dracut.8.xml | |
parent | 59ee80764e08e8614c610d18b572427f8eefaa86 (diff) | |
download | dracut-4401925c822e2f7e927bad4c16e4a08ac6a18d9a.tar.gz dracut-4401925c822e2f7e927bad4c16e4a08ac6a18d9a.tar.bz2 dracut-4401925c822e2f7e927bad4c16e4a08ac6a18d9a.zip |
Add job control support to emergency shell
Option --ctty will optionally add setsid binary to dracut's image.
During runtime, if rd.ctty is set and is a character device,
emergency shells will be spawned with job control.
in case no ctty was provided, shell was spawned without caring about
/dev/console. Also, the ctty is more opportunistic. If the image was
generated with --ctty, we will fallback to /dev/tty1 if rc.ctty is
invalid or missing. Otherwise we spawn standard shell on /dev/console
[dyoung@redhat.com: Rebased to usrmove branch]
Signed-off-by: Michal Soltys <soltys@ziu.info>
Signed-off-by: Dave Young <dyoung@redhat.com>
Diffstat (limited to 'dracut.8.xml')
-rw-r--r-- | dracut.8.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dracut.8.xml b/dracut.8.xml index 221ad2e2..955d4d28 100644 --- a/dracut.8.xml +++ b/dracut.8.xml @@ -297,6 +297,15 @@ include in the generic initramfs. This parameter can be specified multiple times </varlistentry> <varlistentry> <term> + <option>--ctty</option> + </term> + <listitem> + <para>if possible, try to spawn an emergency shell on a terminal + with job control</para> + </listitem> + </varlistentry> + <varlistentry> + <term> <option>-h</option> </term> <term> |