From 60b6fb7e72db7ac369862b58d3a4a4c7d346e250 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 3 Nov 2006 11:26:55 +0100 Subject: [PATCH] run umount multiple times in chroot-script --- chroot-script | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 -- 2.1.4