Meanwhile I could reproduce my issue with a plain file system image
within a squashfs, without partition table. Here a simple list of
instructions to reproduce the issue:

> mkdir /tmp/foo
> truncate -s 20Gib /tmp/foo/test.img
> mkfs.ext4 /tmp/foo/test.img
> mksquashfs /tmp/foo/ /tmp/example.squashfs
> mkdir -p /tmp/mnt/sqfs
> mkdir /tmp/mnt/img
> sudo mount /tmp/example.squashfs /tmp/mnt/sqfs/
> sudo mount /tmp/mnt/sqfs/test.img /tmp/mnt/img/

→ Observe the error message from mount, indicating the loopback device
couldn't be set up.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2120963

Title:
  losetup fails on image file within squashfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/2120963/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to