summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2008-07-05 02:19:28 +0200
committermaximilian attems <maks@debian.org>2008-07-05 02:19:28 +0200
commit08fe39090957b17a395691914d31ff90ec722689 (patch)
treed60a099ab0d28ca75459ed54aed7de03e138fe17
parent6d6f6125e9b165b296f437c788d981ef749a91e8 (diff)
downloadinitramfs-tools-08fe39090957b17a395691914d31ff90ec722689.tar.gz
initramfs-tools-08fe39090957b17a395691914d31ff90ec722689.zip
add possible mountroot break
useful for debug cases closes: #488963
-rwxr-xr-xinit1
-rw-r--r--initramfs-tools.82
2 files changed, 2 insertions, 1 deletions
diff --git a/init b/init
index 4c72eab..e287739 100755
--- a/init
+++ b/init
@@ -170,6 +170,7 @@ maybe_break mount
log_begin_msg "Mounting root file system"
. /scripts/${BOOT}
parse_numeric ${ROOT}
+maybe_break mountroot
mountroot
log_end_msg
diff --git a/initramfs-tools.8 b/initramfs-tools.8
index b564e2c..75c7827 100644
--- a/initramfs-tools.8
+++ b/initramfs-tools.8
@@ -113,7 +113,7 @@ Use for example "debug=vc".
.TP
\fB \fI break
spawns a shell in the initramfs image at chosen run-time
-(top, modules, premount, mount, bottom, init).
+(top, modules, premount, mount, mountroot, bottom, init).
The default is premount without any arg.
Beware that if both "panic" and "break" are present,
initramfs will not spawn any shells but reboot instead.