[PATCH 0/8] losetup: re-use loop device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here is a patch set that is based on a "safe implementation of loop
reuse" patch set sent three weeks ago.

It addresses the same loop device issues in losetup.

Issues not addressed:
Calling losetup twice still fails (and it is probably correct):
losetup /dev/loop0 loop.img
losetup /dev/loop0 loop.img

"[PATCH 6/8] losetup: Prevent rare detach race" needs a careful review,
as I don't have a test case for it. It is even possible to skip it. It
addresses a theoretical race problem:

LOOPDEV=$(losetup -f --show loop.img)
losetup -d $LOOPDEV
sleep {a very special amount of time}
losetup -f --show loop.img

--
Best Regards / S pozdravem,

Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o.                         e-mail: sbrabec@xxxxxxxx
Křižíkova 148/34 (Corso IIa)                  tel: +49 911 7405384547
186 00 Praha 8-Karlín                          fax:  +420 284 084 001
Czech Republic                                    http://www.suse.cz/
PGP: 830B 40D5 9E05 35D8 5E27 6FA3 717C 209F A04F CD76
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux