Re: [Libguestfs] [libguestfs/nbdkit] Floppy plugin seems to be broken (#6)
by Richard W.M. Jones
On Thu, Jul 02, 2020 at 09:25:26PM -0700, Trevor Rudolph wrote:
> It looks like the partition map created by the floppy plugin is not valid.
>
> Specifically when using a mapper it looks like the disk is too small.
> ```
> device-mapper: table: 254:0: nbd0 too small for target: start=4096, len=320, dev_size=2208
> ```
>
> Maybe this is an issue with the sector math? I will look into it further.
I wonder if this is something to do with the device mapper rather than
the floppy plugin? Perhaps it cannot handle a device which is too
small. What is the reproducing command?
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW
4 years, 5 months