aboutsummaryrefslogtreecommitdiff
path: root/toys/other/insmod.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2016-02-17 16:40:17 -0800
committerRob Landley <rob@landley.net>2016-02-17 19:01:19 -0600
commit289ca9b68c5bb10c3dda8aa71ae1bbe9dbc98ae7 (patch)
tree7a0750de0dfdefd1ff053ab11179c384bcab70d1 /toys/other/insmod.c
parentb75c7dfa886e0cb9799e2c5673f7cb5cbf1a77ac (diff)
downloadtoybox-289ca9b68c5bb10c3dda8aa71ae1bbe9dbc98ae7.tar.gz
Fix remounting /system on Android.
This adds the missing "relatime" option, fixes error handling logic (mount returns 0/-1, not an errno value, and I at least get EACCES rather than EROFS in the case where the underlying block device is read-only; we should also probably only try again if the ioctl actually succeeded), and adds the missing newline in case where we go around and try again read-only. The test case was "mount -o rw,remount /system" on Android.
Diffstat (limited to 'toys/other/insmod.c')
0 files changed, 0 insertions, 0 deletions