From 95c3f9c338810604eef6f5585bcc8c7c9e6e30ee Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Sun, 2 Dec 2012 23:23:46 +0100 Subject: Report processes using the chroot partition at the end of each run. --- bin/chroot_tester.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') diff --git a/bin/chroot_tester.sh b/bin/chroot_tester.sh index 01e10a2b..44e0be9c 100755 --- a/bin/chroot_tester.sh +++ b/bin/chroot_tester.sh @@ -40,6 +40,8 @@ export TMPFILE=$(mktemp -u) export CTMPFILE=$CHROOT_TARGET/$TMPFILE cleanup_all() { + # List the processes using the partition + fuser -mv $CHROOT_TARGET # test if $CHROOT_TARGET starts with /chroots/ if [ "${CHROOT_TARGET:0:9}" != "/chroots/" ] ; then echo "HALP. CHROOT_TARGET = $CHROOT_TARGET" -- cgit v1.2.3-70-g09d2