lkml.org 
[lkml]   [2014]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Can't umount /mnt/dev after calling dd(1) and with /mnt/dev is a bind mount
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?


\
 
 \ /
  Last update: 2014-03-22 21:01    [W:0.097 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site