[Toybox] [landley/toybox] the mount command behaves incorrectly (#49)

Rob Landley rob at landley.net
Sun Sep 18 00:28:01 PDT 2016


On 09/17/2016 02:39 AM, Joshua J. Drake wrote:
> The traditional way to remount a filesystem is with:
> 
> |# mount -o remount,rw /mountpoint |
> 
> However this does not work in toybox.
> 
> There is a workaround, though.
> 
> |# mount -o rw,remount /mountpoint |

*blink* *blink* That should _totally_ not matter. If it does, it's a
bug. (You didn't say what "does not work" means in this context, lemme
see what I can dig up...)

> Any thoughts as to why the "correct" way doesn't work? You can find the
> "remount,rw" ordering in tons of documentation, yet it doesn't work in
> toybox.

That would be a bug. The fact that remount doesn't work without an
absolute path is _also_ a bug. Hmmm...

(I haven't put together a proper mount test suite yet because it
requires root access and a known host environment, meaning it's gated by
a dependency on a qemu-based test environment, which is gated on my
taking my aboriginal linux project apart and putting it back together
again as described on that list. Working on it. But mostly I have to get
back to Austin and a decent work environment again so my development
bandwidth for these projects isn't so severely constrained...)

Rob



More information about the Toybox mailing list