Bug 4033 - -r option lacks in BB 1.17 losetup, needed by standard losetup
Summary: -r option lacks in BB 1.17 losetup, needed by standard losetup
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Standard Compliance (show other bugs)
Version: 1.17.x
Hardware: PC Linux
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-31 13:52 UTC by Trond
Modified: 2011-09-12 06:32 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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