Re: kpartx -l side effects

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

On 01/13/2012 04:42 PM, Mikulas Patocka wrote:
> On Fri, 13 Jan 2012, Pádraig Brady wrote:
>> On 01/12/2012 09:08 PM, Mikulas Patocka wrote:
>>> On Thu, 12 Jan 2012, Pádraig Brady wrote:
>>>> I was playing around with kpartx on 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.
>> Cool that works.
>> It's still a bug though right?
>> I.E. `kpartx -l` has side effects (only when it can't map partitions).
>> cheers,
>> Pádraig.
> It may be a bug. You can report it to kpartx developers.
> Mikulas

Sorry, pointed here.
I've copied Christophe directly.


dm-devel mailing list

[DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

Add to Google Powered by Linux