From: Al Viro <viro@ZenIV.linux.org.uk>
To: Francis Moreau <francis.moro@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: Can't umount /mnt/dev after calling dd(1) and with /mnt/dev is a bind mount
Date: Sat, 22 Mar 2014 19:24:04 +0000 [thread overview]
Message-ID: <20140322192404.GG18016@ZenIV.linux.org.uk> (raw)
In-Reply-To: <532DBFC8.4020202@gmail.com>
On Sat, Mar 22, 2014 at 05:52:24PM +0100, Francis Moreau wrote:
> I'm posting here because it might be a behaviour related to the kernel
> internals that I can't explain from my user point of view :)
>
> Basically I'm doing this:
>
> mount -o bind /dev/ /mnt/dev &&
> chroot /mnt dd bs=440 conv=notrunc count=1 if=gptmbr.bin of=/dev/loop0
> umount /mnt/dev
>
> but umount gives the following error: "umount: /mnt/dev: target is busy"
What do you have in /proc/self/mountinfo before all that?
next prev parent reply other threads:[~2014-03-22 19:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-22 16:52 Can't umount /mnt/dev after calling dd(1) and with /mnt/dev is a bind mount Francis Moreau
2014-03-22 19:24 ` Al Viro [this message]
2014-03-22 20:30 ` Francis Moreau
2014-03-30 7:54 ` Francis Moreau
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=20140322192404.GG18016@ZenIV.linux.org.uk \
--to=viro@zeniv.linux.org.uk \
--cc=francis.moro@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.