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
/system/vold/fs/Ext4.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
/system/vold/fs/Ext4.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
/system/vold/fs/Ext4.cpp
|
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
/system/vold/fs/Ext4.cpp
|
7e128fbe212c64492afa98bfd6d7fab6f1956831 |
|
05-Dec-2015 |
Elliott Hughes <enh@google.com> |
Track rename from base/ to android-base/. Change-Id: I3096cfa50afa395d8e9a8043ab69c1e390f86ccb
/system/vold/fs/Ext4.cpp
|
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>
/system/vold/fs/Ext4.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
/system/vold/fs/Ext4.cpp
|