Bug 4033

Summary: -r option lacks in BB 1.17 losetup, needed by standard losetup
Product: Busybox Reporter: Trond <capricornyx>
Component: Standard ComplianceAssignee: unassigned
Status: RESOLVED FIXED    
Severity: minor CC: busybox-cvs
Priority: P5    
Version: 1.17.x   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:

Description Trond 2011-07-31 13:52:59 UTC
I came across this while testing patches of Knoppix 6.4.4 init, which is based entirely on Busybox. I run 1.17, 64-bits from Debian package.

Standard losetup seems to require -r option for read-only mounting, which is necessary for (e.g.) cloop devices. But BB 1.17 does not recognize this option, making scripts incompatible.  It is no big deal, but might create problems some times.
Comment 1 Denys Vlasenko 2011-09-12 06:32:12 UTC
Fixed in git:

commit 13e709c53f700a18a660feebdf72c613a233bf48
Author: Denys Vlasenko <vda.linux@googlemail.com>
Date:   Mon Sep 12 02:13:47 2011 +0200

    losetup: implement -r option.


Will go into 1.20.x