7db02ab5d122501e8303cbde0ac868f02e9b1b86 |
06-Apr-2018 |
Jaegeuk Kim <jaegeuk@google.com> |
vold: set f2fs feature bit Bug: 74604441 Bug: 67380979 Change-Id: Ifcb43fb4f8fbdf79e70cfa208af73073d815e254 Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2fs.cpp
|
37ba125205023b3b6e80ed684ca4d282224c66dc |
19-Jan-2018 |
Jeff Sharkey <jsharkey@android.com> |
Add basic exFAT support. Several partners have been requesting exFAT support. Android doesn't natively support exFAT, but we're at least willing to try mounting an exFAT filesystem if we detect the Linux kernel supports it, and if helper binaries are present. This CL is simple scaffolding, and it provides no actual implementation of exFAT. Test: builds, boots Bug: 67822822 Change-Id: Id4f8ec3967b32de6e1c0e3c4b47fe6e43a6291ab
xfat.cpp
xfat.h
|
c7c477b8fbadd30bec94b1f9c12f7fc44aed38d6 |
14-Nov-2017 |
Jaegeuk Kim <jaegeuk@google.com> |
Vold: format f2fs partition This patch formats f2fs paritition with proper flags. Change-Id: Ie5ded1f2ceb3869771b2eaf9bea3b0966cab18c5 Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2fs.cpp
|
3472e52fc259b6a549acece21d4901d99d6a421f |
07-Oct-2017 |
Jeff Sharkey <jsharkey@android.com> |
Move to modern utility methods from android::base. Moves away from crufty char* operations to std::string utility methods, including android::base methods for splitting/parsing. Rewrite of how Process handles scanning procfs for filesystem references; now uses fts(3) for more sane traversal. Replace sscanf() with new FindValue() method, also has unit tests. Remove some unused methods. Switch almost everyone over to using modern logging library. Test: cts-tradefed run commandAndExit cts-dev -m CtsOsTestCases -t android.os.storage.cts.StorageManagerTest Test: cts-tradefed run commandAndExit cts-dev --abi armeabi-v7a -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.AdoptableHostTest Bug: 67041047 Change-Id: I70dc512f21459d1e25b187f24289002b2c7bc7af
xt4.cpp
fat.cpp
|
3b71fc51005ac566fd8120f01b784d5f251ad886 |
09-Oct-2017 |
Paul Crowley <paulcrowley@google.com> |
Be more C++. volume UUID should always be std::string. Test: boots Bug: 67041047 Change-Id: I36d3944ae8de192703b9ee359900841b833fe3a1
xt4.cpp
|
4cc6baf616bee2c8ce6d8935c16641a66112fa95 |
03-Jul-2017 |
Ravisankar Reddy <ravisankar.reddy@sony.com> |
Add noatime to vfat and exfat testNoAtime is new cts testcase, which verifies all writable block filesystems are mounted "noatime" toavoid unnecessary flash churn. So add noatime for vfat. Bug: 64137815 Test: run cts -m m CtsOsTestCases -t android.os.cts.EnvironmentTest#testNoAtime Change-Id: I4f42b54ed0d66e09964351da26d0d3bf38d573d6
fat.cpp
|
95a92f9203ca68ab446a7cffd23450f04930fe38 |
17-Jul-2017 |
Jeff Sharkey <jsharkey@android.com> |
Only enable quotas when supported by device. Otherwise we might end up creating ext4 partitions that the device can't mount. Bug: 63763609 Test: builds, boots Exempt-From-Owner-Approval: Bug 63673347 Change-Id: I5f6cf73f23a55bc0dea9480523f19049313c3dd1
xt4.cpp
|
d794526962c385af307597f27d26aeb43703e6a1 |
27-Jun-2017 |
Jeff Sharkey <jsharkey@android.com> |
Fully switch to mke2fs; set policies everywhere. Older make_ext4fs doesn't support enabling quotas, so switch everyone over to using mke2fs for adoptable storage. Remove UUID check so that we start setting ext4-crypto policies on adoptable storage devices; a future change will handle the actual key management. Bug: 30230655, 36757864 Test: cts-tradefed run commandAndExit cts-dev --abi armeabi-v7a -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.AdoptableHostTest Change-Id: I021f85b1be8431044c239521c37be96534682746
xt4.cpp
|
46bb69f49a8630cc97e84976d0327495b7dd5708 |
21-Jun-2017 |
Jeff Sharkey <jsharkey@android.com> |
Progress towards FBE and adoptable storage. Offer to adopt storage devices on FBE devices, but keep it guarded behind a system property for now, since we still need to work out key storage details. When migrating shared storage, leave user-specific /data/media directories in place, since they already have the needed crypto policies defined. Enable journaling, quotas, and encrypt options when formatting newly adopted devices. installd already gracefully handles older partitions without quota enabled. Test: cts-tradefed run commandAndExit cts-dev --abi armeabi-v7a -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.AdoptableHostTest Bug: 62290006, 36757864, 29117062, 37395736 Bug: 29923055, 25861755, 30230655, 37436961 Change-Id: Ibbeb6ec9db2394a279bbac221a2b20711d65494e
xt4.cpp
|
6218c51e4b4b31814159b7156fb37a93637529c3 |
03-Dec-2016 |
Adrien Schildknecht <adriens@google.com> |
Manually merge commit 'b406ffa' into stage-aosp-master am: 04c55e6ed7 am: 93722ead06 am: 43100e580f Change-Id: I8a74fd730f0aa5a1f94c04c12286e96ac299b463
|
e0f409ca32b4bb434c30557a2ed28cf1957098c0 |
22-Nov-2016 |
Adrien Schildknecht <adriens@google.com> |
Add support for creating ext4 images with mke2fs We are investigating replacing make_ext4fs with the upstream tool mke2fs. See b/23686092 for more informations. To mitigate the trouble that may arise if the new tool behave differently compared to the old one, there will be a transition period where both mke2fs and make_ext4fs will be supported. This patch does 3 things: - add the necessary code to use mke2fs to format an ext4 partition; - add a dependency to the binary used by vold. Test: m -j32 with TARGET_USES_MKE2FS={,false,true} TARGET_USERIMAGES_USE_EXT4={,true} Change-Id: I89222642fe1d11a035155c8224b84b2e3719938b
xt4.cpp
|
605d7ae18d6e33b5dc1f6bb813ae32781498a4cd |
29-Feb-2016 |
George Burgess IV <gbiv@google.com> |
Cleanup uses of sprintf, add modes to open() with O_CREAT. Change-Id: Iaed2538831b19ada26005bbef33cff28209c6512
fat.cpp
|
6bf0547ccce72233bd465178b919fa7f15e48b45 |
05-Dec-2015 |
Elliott Hughes <enh@google.com> |
resolve merge conflicts of b7d5a47cec to master. Change-Id: I0c5211a00d92d0ee796bb9c77d2e13675a2a3e8d
|
51c6b9876a0fa4f0570364b8dc3c4c0351dcd797 |
05-Dec-2015 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Handle non-format partition in Vold" am: 385ca5d236 am: 63b7774894 am: 971ecb40ee * commit '971ecb40ee9bc3c729091667b5192dbae996c1d2': Handle non-format partition in Vold
|
20826a1574cd38ca6a31bd71368808154ea19a9f |
05-Dec-2015 |
Jeff Sharkey <jsharkey@android.com> |
Merge "vold: fix 64 bit ioctl error" am: 3e6c59dc16 am: bf6acf44a9 am: a619c191cc * commit 'a619c191cc06c08fb19e1bdd486a41da65f6c0af': vold: fix 64 bit ioctl error
|
7e128fbe212c64492afa98bfd6d7fab6f1956831 |
05-Dec-2015 |
Elliott Hughes <enh@google.com> |
Track rename from base/ to android-base/. Change-Id: I3096cfa50afa395d8e9a8043ab69c1e390f86ccb
xt4.cpp
2fs.cpp
fat.cpp
|
385ca5d236547a767133abcd44dff12ca7b805be |
03-Dec-2015 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Handle non-format partition in Vold"
|
a4f48d0f44d09b6a9a3b16f6c0121ffd5123eef3 |
03-Aug-2015 |
Mateusz Nowak <mateusz.nowak@intel.com> |
vold: fix 64 bit ioctl error Changing the num_sectors used in ioctl with BLKGETSIZE because the kernel expects an unsigned long type and then changes 64 bits with a 64 bits userspace. This overwrites what's located close to the parameter location if any. Change-Id: I78fd61a1084de2741f39b926aa436462518709a0 Signed-off-by: Mateusz Nowak <mateusz.nowak@intel.com> Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>
xt4.cpp
xt4.h
fat.cpp
fat.h
|
3dd39309d084f1c038ce4e8c1442aad2a7b94f0f |
03-Aug-2015 |
Mateusz Nowak <mateusz.nowak@intel.com> |
Handle non-format partition in Vold fsck_msdos will retun error code 8 when the partition is non-format. Handle this error code and continue next partition in Vold. Change-Id: I31499ccb16945ffbc67bdc92dfbc3ea71e82573a Signed-off-by: Mateusz Nowak <mateusz.nowak@intel.com> Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>
fat.cpp
|
3d839480328640d86fa0b209b92c8c679df78db3 |
15-Aug-2015 |
Elliott Hughes <enh@google.com> |
am 5e7f772d: am 6d24e086: Merge "Remove dead code." * commit '5e7f772dbd27d5d93b15f004991749d321b6d62d': Remove dead code.
|
5e7f772dbd27d5d93b15f004991749d321b6d62d |
15-Aug-2015 |
Elliott Hughes <enh@google.com> |
am 6d24e086: Merge "Remove dead code." * commit '6d24e0866f61aba0ac3023408ead083ad9b6cdab': Remove dead code.
|
3097d0e151b4f07552e987ee5819e9e7c6953a71 |
15-Aug-2015 |
Elliott Hughes <enh@google.com> |
am 6d24e086: Merge "Remove dead code." * commit '6d24e0866f61aba0ac3023408ead083ad9b6cdab': Remove dead code.
|
0765cf98fceb5db6214004dd5d9abd7c3d76dfec |
22-Jul-2015 |
Yusuke Sato <yusukes@google.com> |
Stop doing full fsck on private f2fs partitions This is safe because we run 'f2fs.fsck -f' on all writable /dev/block* paritions on shutdown. Bug: 21853106 Change-Id: I368a8676093c97e70ad7c09e9b71665d3c445a16
2fs.cpp
|
d0640f6358041f7e2657167560b357078db73526 |
22-May-2015 |
Jeff Sharkey <jsharkey@android.com> |
Add f2fs support for private volumes. When formatting volumes, pass along fsType string which can be "auto" to let the volume select the best choice. For now, private volumes assume that MMC devices (like SD cards) are best off using f2fs when both kernel support and tools are present, otherwise fall back to ext4. Use blkid when mounting to pick the right set of tools. Move filesystem utility methods into namespaces and place in separate directory to be more organized. Bug: 20275581 Change-Id: Id5f82d8672dda2e9f68c35b075f28232b0b55ed4
xt4.cpp
xt4.h
2fs.cpp
2fs.h
fat.cpp
fat.h
|