Index: trunk/debirf/fs/usr/bin/debirf
===================================================================
--- trunk/debirf/fs/usr/bin/debirf	(revision 909)
+++ trunk/debirf/fs/usr/bin/debirf	(revision 914)
@@ -135,5 +135,5 @@
     # copy needed executables into nest
     cp -f /bin/{busybox,cpio} "$NEST_ROOT"/bin/
-    for util in sh mkdir mount ls gunzip grep awk free ; do
+    for util in sh mkdir mount ls gunzip grep awk free grep umount; do
 	ln "$NEST_ROOT"/bin/busybox "$NEST_ROOT"/bin/"$util"
     done
@@ -152,7 +152,17 @@
     cat > "$NEST_ROOT"/init <<EOF
 #!/bin/sh
+mkdir /proc
+mount -t proc proc /proc
+if (grep -q break=top /proc/cmdline); then
+  echo "honoring break=top kernel arg"
+  /bin/sh
+fi
 mkdir /newroot
 MEMSIZE=\$(free | grep 'Mem:' | awk '{ print \$2 }')
 mount -t tmpfs -o size=\${MEMSIZE}k tmpfs /newroot
+if (grep -q break=preunpack /proc/cmdline); then
+  echo "honoring break=preunpack kernel arg"
+  /bin/sh
+fi
 cd /newroot
 echo unpacking rootfs...
@@ -160,4 +170,9 @@
 # busybox cpio returns "need to fix this" when unpacking hard links
 gunzip - < /rootfs.cgz | /bin/cpio -i
+if (grep -q break=bottom /proc/cmdline); then
+  echo "honoring break=bottom kernel arg"
+  /bin/sh
+fi
+umount /proc
 echo running /sbin/init...
 exec /bin/run-init . /sbin/init < ./dev/console > ./dev/console
