From: Eko <hong.sun@oracle.com>
To: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [ltp-full-20130503] runltp cleanup() can't remove ${TMP}
Date: Wed, 03 Jul 2013 10:15:00 +0800 [thread overview]
Message-ID: <51D38924.8090400@oracle.com> (raw)
In-Reply-To: <mailman.80890.1372765469.12996.ltp-list@lists.sourceforge.net>
[-- Attachment #1.1: Type: text/plain, Size: 884 bytes --]
hi,
I executed runltp command in my box, everything is OK, but when
cleaning the environment, got following errors:
###############################################################
Done executing testcases.
LTP Version: 20130503
###############################################################
rm: cannot remove `/tmp/ltp-9NAwvmAbI5/moulTfFCf/mnt_4458': Device or resource busy
rm: cannot remove `/tmp/ltp-9NAwvmAbI5/sandbox': Device or resource busy
Because /tmp/ltp-9NAwvmAbI5/moulTfFCf/mnt_4458 and
/tmp/ltp-9NAwvmAbI5/sandbox are still mounted, so can't delete them, the
best way is:
# umount /tmp/ltp-9NAwvmAbI5/moulTfFCf/mnt_4458
# umount /tmp/ltp-9NAwvmAbI5/sandbox
and then:
[ "$LOOP_DEV" ] && losetup -d $LOOP_DEV
[ -e "${TEMP}/test.img" ] && rm -f ${TEMP}/test.img
rm -rf ${TMP}
--
Best Regards,
Eko
--
[-- Attachment #1.2: Type: text/html, Size: 1586 bytes --]
[-- Attachment #2: Type: text/plain, Size: 184 bytes --]
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
[-- Attachment #3: Type: text/plain, Size: 155 bytes --]
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next parent reply other threads:[~2013-07-03 2:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.80890.1372765469.12996.ltp-list@lists.sourceforge.net>
2013-07-03 2:15 ` Eko [this message]
2013-07-03 7:36 ` [LTP] [ltp-full-20130503] runltp cleanup() can't remove ${TMP} Sedat Dilek
2013-07-10 14:04 ` chrubis
2013-07-10 14:17 ` chrubis
2013-07-09 15:11 ` chrubis
[not found] ` <CA+icZUUtv3MpiYScqqHmLbOFaEqKRC8eSAtUziMrVcRP80kbGw@mail.gmail.com>
2013-07-09 16:18 ` chrubis
[not found] <mailman.81986.1372818525.14365.ltp-list@lists.sourceforge.net>
2013-07-03 3:30 ` Eko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51D38924.8090400@oracle.com \
--to=hong.sun@oracle.com \
--cc=ltp-list@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox