search for: 4a85e126

Displaying 1 result from an estimated 1 matches for "4a85e126".

Did you mean: 4a5e12a
2019 Nov 05
0
[klibc:master] losetup: Use LOOP_CTL_GET_FREE to find free device
...ange of possible device names. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/utils/losetup.c | 59 +++++++++++++++-------------------------------------- 1 file changed, 17 insertions(+), 42 deletions(-) diff --git a/usr/utils/losetup.c b/usr/utils/losetup.c index 5d328138..4a85e126 100644 --- a/usr/utils/losetup.c +++ b/usr/utils/losetup.c @@ -95,51 +95,26 @@ is_loop_device (const char *device) { char * find_unused_loop_device (void) { - /* Just creating a device, say in /tmp, is probably a bad idea - - people might have problems with backup or so. - So, we just try...