Device file listed by fdisk doesn't exist

Oliver Grawert ogra at ubuntu.com
Sat Jun 20 14:38:58 UTC 2020


hi,
Am Samstag, den 20.06.2020, 15:48 +0200 schrieb Volker Wysk:
> 
> This looks like a very hacky way to do it, to me. I've taken a quick
> look at the mount and losetup man pages. If have read correctly, your
> solution only applies to the first partition. (Unless you wanted to
> do
> something with that "fdisk -l" output).
> 
> I prefer Oliver's solution, which, I think, is much cleaner.
> 
well, what nils does is essentially reproducing manually what kpartx
does. his solution has the advantage that you can pick only a single
partition but you need to do the math for the offset on your own ...

neither is more or less "hackish" than the other, kpartx is just a lot
more cmfortable.

ciao
	oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20200620/3af31ff2/attachment.sig>


More information about the ubuntu-users mailing list