summaryrefslogtreecommitdiff
path: root/fstab.common
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2020-04-21 17:57:54 +0800
committerYongqin Liu <yongqin.liu@linaro.org>2020-04-21 17:57:54 +0800
commitbed1321ddcf66ccd8b9d4065ad9aeea38b04436a (patch)
tree3e65eb5681637f3e1cfe6a2432d33f0664de11e5 /fstab.common
parentbbb804e57f2fde108eba4085623dc1bf55fffcca (diff)
fstab.common: adding options for userdata partition to enable FBE
according to the document here: https://source.android.com/security/encryption/file-based Test: boot up db845c with android-5.4 and android-mainline kernels, and tested with vts-kernel -m VtsKernelEncryptionTest Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org> Change-Id: I6ad25b5fef31bef77893f6d5e267568489116fae
Diffstat (limited to 'fstab.common')
-rw-r--r--fstab.common2
1 files changed, 1 insertions, 1 deletions
diff --git a/fstab.common b/fstab.common
index ad29337..b23e7f8 100644
--- a/fstab.common
+++ b/fstab.common
@@ -2,5 +2,5 @@
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
-/dev/block/platform/soc@0/1d84000.ufshc/by-name/userdata /data ext4 discard,noauto_da_alloc,data=ordered,user_xattr,barrier=1 wait,formattable
+/dev/block/platform/soc@0/1d84000.ufshc/by-name/userdata /data ext4 discard,noatime,noauto_da_alloc,data=ordered,user_xattr,barrier=1,inlinecrypt wait,formattable,fileencryption=aes-256-xts:aes-256-cts:v2+inlinecrypt_optimized
/dev/block/by-name/metadata /metadata ext4 noatime,nosuid,nodev,discard wait,formattable