diff options
author | Elliott Hughes <enh@google.com> | 2016-02-17 16:40:17 -0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2016-02-17 19:01:19 -0600 |
commit | 289ca9b68c5bb10c3dda8aa71ae1bbe9dbc98ae7 (patch) | |
tree | 7a0750de0dfdefd1ff053ab11179c384bcab70d1 /toys/posix/sort.c | |
parent | b75c7dfa886e0cb9799e2c5673f7cb5cbf1a77ac (diff) | |
download | toybox-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/posix/sort.c')
0 files changed, 0 insertions, 0 deletions