[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] kpartx -l side effects
- From: Mikulas Patocka <mpatocka redhat com>
- To: Pádraig Brady <pbrady redhat com>
- Cc: dm-devel redhat com
- Subject: Re: [dm-devel] kpartx -l side effects
- Date: Thu, 12 Jan 2012 16:08:14 -0500 (EST)
On Thu, 12 Jan 2012, Pádraig Brady wrote:
> I was playing around with kpartx on 2.6.40.4-5.fc15.x86_64 and did:
> kpartx -l /bin/ls
> Now I get "text file busy" when trying to run ls.
> How does one undo that?
>
> cheers,
> Pádraig.
Run losetup -a, you find that one of loopback devices is assigned to
/bin/ls (for example /dev/loop0). Then, run losetup -d /dev/loop0 to
remove that block device. Then, you can use /bin/ls again.
Mikulas
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]