On 01/22/2015 05:52 PM, Jakub Wilk wrote: > > I tried to run kpartx as a normal user. Unsurprisingly, this failed, > but the error message contained some garbage: > > $ /sbin/kpartx -l /dev/zero > /dev/mapper/control: open failed: Permission denied > Failure to communicate with kernel device-mapper driver. > Incompatible libdevmapper đÄG÷ and kernel driver > last_lba(): I don't know how to handle files with mode 21b6 > llseek error > llseek error > llseek error > llseek error rrs@learner:~$ kpartx -l /dev/mapper/control: open failed: Permission denied Failure to communicate with kernel device-mapper driver. Incompatible libdevmapper � and kernel driver usage : kpartx [-a|-d|-l] [-f] [-v] wholedisk -a add partition devmappings -r devmappings will be readonly -d del partition devmappings -u update partition devmappings -l list partitions devmappings that would be added by -a -p set device name-partition number delimiter -g force GUID partition table (GPT) -f force devmap create -v verbose -s sync mode. Don't return until the partitions are created
kpartx expects a block device as an argument. -- Ritesh Raj Sarraf RESEARCHUT - http://www.researchut.com "Necessity is the mother of invention."
signature.asc
Description: OpenPGP digital signature