Re: [PATCH] losetup: Create loop device if it does not exist

2019-10-22 Thread David Henderson
I think this is better functionality. If anything is scripted, this patch will make it easier instead of having to test if the file exists (or if the binary exits due to the file not already existing). I actually think most binaries work like this... Just my $0.02 Dave On 10/22/19, Joerg

Re: [PATCH] losetup: Create loop device if it does not exist

2019-10-22 Thread Joerg Vehlow
No interest in util-linux compatibility? Am 23.09.2019 um 07:39 schrieb Joerg Vehlow: From: Joerg Vehlow util-linux's losetup creates a loop device, if it is missing. This is missing in busybox's implementation. Testcase: losetup /dev/loop1000 If /dev/loop1000 does not exist busybox give an