From: Michael Prokop Date: Fri, 3 Nov 2006 10:26:55 +0000 (+0100) Subject: run umount multiple times in chroot-script X-Git-Tag: 0.1~22 X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=commitdiff_plain;h=60b6fb7e72db7ac369862b58d3a4a4c7d346e250 run umount multiple times in chroot-script --- diff --git a/chroot-script b/chroot-script index 581e684..d6166dc 100644 --- a/chroot-script +++ b/chroot-script @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Fre Nov 03 11:17:14 CET 2006 [mika] +# Latest change: Fre Nov 03 11:26:43 CET 2006 [mika] ################################################################################ set -e @@ -145,7 +145,10 @@ image=/boot/vmlinuz-2.6.17-grml EOF fi -# unmount all filesystems in chroot +# unmount all filesystems in chroot, make sure nothing is left... +umount -a +umount /proc +umount /proc umount -a # finally exit the chroot