Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#17086 - [util-linux-ng] losetup lacks -f -d etc, man losetup describes their use as on other linux dists.
Attached to Project:
Arch Linux
Opened by Michael J Evans (mjevans) - Tuesday, 10 November 2009, 03:08 GMT
Last edited by Allan McRae (Allan) - Tuesday, 10 November 2009, 05:28 GMT
Opened by Michael J Evans (mjevans) - Tuesday, 10 November 2009, 03:08 GMT
Last edited by Allan McRae (Allan) - Tuesday, 10 November 2009, 05:28 GMT
|
DetailsTest case:
truncate -s1M test ;\ losetup /dev/loop0 test ;\ losetup -a ;\ losetup -d /dev/loop0 ;\ rm test Working Gentoo Stable (should also work on virtually any other linux dist) truncate -s1M test ;\ > losetup /dev/loop0 test ;\ > losetup -a ;\ > losetup -d /dev/loop0 ;\ > rm test /dev/loop/0: [fc01]:60395 (/usr/src/e2progs/build/test) Otherwise working Arch install: truncate -s1M test ;\ > losetup /dev/loop0 test ;\ > losetup -a ;\ > losetup -d /dev/loop0 ;\ > rm test LOOP_SET_FD: Device or resource busy Usage: losetup <loop device> <filename> -d: No such file or directory (Note: /dev/loop0 was already in use because I lack losetup -d to detach the old use case.) pacman -Qs util-linux-ng local/lib32-util-linux-ng 2.16-1 [0.12 MB] Miscellaneous system utilities for Linux man losetup - set up and control loop devices SYNOPSIS losetup [options] loop_device file losetup [ -d ] loop_device losetup -a losetup -f -d Detach the file or device associated with the specified loop device. -a Show status of all loop devices. -f Find and show next unused loop device. |
This task depends upon
Closed by Allan McRae (Allan)
Tuesday, 10 November 2009, 05:28 GMT
Reason for closing: Not a bug
Additional comments about closing: See comments
Tuesday, 10 November 2009, 05:28 GMT
Reason for closing: Not a bug
Additional comments about closing: See comments
pacman -Qo `which losetup` on my system could not find the package, even though pacman -Ql util-linux-ng reported that file should exist.
After removing /bin/losetup and re-installing util-linux-ng I have the behavior I was expecting. I've no idea where my other losetup came from though.
I have both installed, I only copied the first entry by mistake.
local/lib32-util-linux-ng 2.16-1 [0.12 MB]
Miscellaneous system utilities for Linux
local/util-linux-ng 2.16-1 [6.75 MB] (base)
Miscellaneous system utilities for Linux