FS#35193 - [util-linux] losetup offset option is broken
Attached to Project:
Arch Linux
Opened by max (maxmbx) - Saturday, 11 May 2013, 05:01 GMT
Last edited by Dave Reisner (falconindy) - Wednesday, 03 July 2013, 11:57 GMT
Opened by max (maxmbx) - Saturday, 11 May 2013, 05:01 GMT
Last edited by Dave Reisner (falconindy) - Wednesday, 03 July 2013, 11:57 GMT
|
Details
Description:
losetup --offset=1GiB -f /dev/sdn does not work, although it works in util-linux-2.22.2-2 it gives message "losetup: /dev/sdn: failed to setup loop device: Success" and do nothing |
This task depends upon
Closed by Dave Reisner (falconindy)
Wednesday, 03 July 2013, 11:57 GMT
Reason for closing: Fixed
Additional comments about closing: util-linux 2.23.1
No reply from user who requested reopen.
Wednesday, 03 July 2013, 11:57 GMT
Reason for closing: Fixed
Additional comments about closing: util-linux 2.23.1
No reply from user who requested reopen.
I've sent this upstream, but I'm sure they'll want to know what you're using this for.
https://dev.archlinux.org/~dreisner/util-linux-2.23-1.1-x86_64.pkg.tar.xz
It include upstream commits which should address the problem:
https://github.com/karelzak/util-linux/commit/e3b6cb87e0
https://github.com/karelzak/util-linux/commit/b048b8af3a
System is up-to-date. My current util-linux version is 2.23.1-2. I also tried falconindy's package, no success.
I'm using losetup on a regular file with an offset. Same error as stated in the bug report.