Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the mount command behaves incorrectly #49

Closed
jduck opened this issue Sep 17, 2016 · 4 comments
Closed

the mount command behaves incorrectly #49

jduck opened this issue Sep 17, 2016 · 4 comments

Comments

@jduck
Copy link

jduck commented Sep 17, 2016

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

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.

@landley
Copy link
Owner

landley commented Sep 18, 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

@enh
Copy link
Contributor

enh commented Jul 10, 2017

another report of this bug today: android/ndk#380 (comment)

@landley
Copy link
Owner

landley commented Jul 11, 2017 via email

@enh
Copy link
Contributor

enh commented Sep 20, 2017

i think this was fixed by d4adb3f and can now be closed.

@landley landley closed this as completed May 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants