289ca9b68c5bb10c3dda8aa71ae1bbe9dbc98ae7 |
|
18-Feb-2016 |
Elliott Hughes <enh@google.com> |
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.
/external/toybox/toys/lsb/mount.c
|
776aa3cb927f889a0481c2530128940c75984feb |
|
12-Apr-2015 |
Rob Landley <rob@landley.net> |
Before trying to remount read only, see if block device responds to "become rw" ioctl(). (This is a thing Android's old mount already does.)
/external/toybox/toys/lsb/mount.c
|
1dd3704c5ffea926f61a96bb7de7d9dbee52fa44 |
|
04-Apr-2015 |
Paul Barker <paul@paulbarker.me.uk> |
To ensure that toybox can be installed alongside busybox without confusing update-alternatives, the paths of the links installed by toybox should match those installed by busybox. This is accomplished by changing the flags of a few tools within toybox.
/external/toybox/toys/lsb/mount.c
|
70a84a356b1c56743618362867b9300007d11998 |
|
01-Mar-2015 |
Rob Landley <rob@landley.net> |
Patches from Elliott Hughes to add missing arguments to error_exit() calls.
/external/toybox/toys/lsb/mount.c
|
a03a0449e810c26f001cdfc56e5527f51577a639 |
|
02-Dec-2014 |
Rob Landley <rob@landley.net> |
Don't mount a filesystem over an existing one with the same /dev and /dir. The OS mostly catches this for block devices, but calling "mount -a" twice shouldn't overmount tmpfs entries with new tmpfs instances. (This needs a test suite entry, and the test suite needs a root context to run in...)
/external/toybox/toys/lsb/mount.c
|
4f0c3de1bf0b6755ea5b5c9c6ae1db9651784794 |
|
29-Sep-2014 |
Rob Landley <rob@landley.net> |
Fix two mount bugs: 1) Don't skip a filesystem type when setting up loopback mount, 2) Don't stop checking filesystem types due to EBUSY, it may mean already mounted by another filesystem type you haven't tried yet.
/external/toybox/toys/lsb/mount.c
|
679a21d674cf487992c0ccabc8666c417e59d390 |
|
28-Sep-2014 |
Rob Landley <rob@landley.net> |
mount: terminate list so unknown user mount attempts don't endlessly loop, add better error reporting.
/external/toybox/toys/lsb/mount.c
|
360d57f843f5435a75270e54583430dcb8f62546 |
|
14-Sep-2014 |
Rob Landley <rob@landley.net> |
Split xpopen() into xpopen_both(), xpopen(), and xrun() depending on whether we want to redirect both, one, or neither of stdin/stdout.
/external/toybox/toys/lsb/mount.c
|
9b4ea9cf9934d5639a7d1a9b50b90b8d5569ba7e |
|
08-Sep-2014 |
Rob Landley <rob@landley.net> |
Promote mount. It's not perfect, but it basically works now.
/external/toybox/toys/lsb/mount.c
|