platform_system_core/fs_mgr
Bowgo Tsai 47d342739a fs_mgr: add fs_mgr_read_fstab_with_dt() API
With the early mount support in init, fstab entries of verified partitions
(e.g., /system, /vendor) will be moved into device tree in kernel image.

Those early mount fstab entries will be removed from the fstab file to
prevent duplicated and/or inconsistent settings.

This change adds a new function: fs_mgr_read_fstab_with_dt(), to return
the combined results from both places. It also removes
fs_mgr_read_fstab_file() from the public APIs and makes it as an
internal function.

Bug: 35811655
Test: early mount /vendor with dm-verity on sailfish

Change-Id: I2fba3614685bf9f852a789cda6f53013e2164e60
2017-03-09 21:15:08 +08:00
..
include fs_mgr: add fs_mgr_read_fstab_with_dt() API 2017-03-09 21:15:08 +08:00
.clang-format Fix-up coding style 2017-02-18 12:33:36 +08:00
Android.mk fs_mgr: make is_device_secure() work even in the absence of properties. 2017-02-27 12:46:18 -08:00
fs_mgr.cpp collect fs stat for ext4 2017-03-06 19:39:58 -08:00
fs_mgr_avb.cpp fs_mgr: add a generic fs_mgr_get_boot_config internal API 2017-02-22 12:58:15 -08:00
fs_mgr_avb_ops.cpp Fix-up coding style 2017-02-18 12:33:36 +08:00
fs_mgr_avb_ops.h Fix-up coding style 2017-02-18 12:33:36 +08:00
fs_mgr_boot_config.cpp fs_mgr: consolidate DT compatible check 2017-02-24 13:29:26 -08:00
fs_mgr_dm_ioctl.cpp Fix-up coding style 2017-02-18 12:33:36 +08:00
fs_mgr_format.cpp fs_mgr: Switch to LOG()/PLOG() defined in <android-base/logging.h> 2017-01-26 21:47:55 +08:00
fs_mgr_fstab.cpp fs_mgr: add fs_mgr_read_fstab_with_dt() API 2017-03-09 21:15:08 +08:00
fs_mgr_main.cpp fs_mgr: Switch to LOG()/PLOG() defined in <android-base/logging.h> 2017-01-26 21:47:55 +08:00
fs_mgr_priv.h fs_mgr: make is_device_secure() work even in the absence of properties. 2017-02-27 12:46:18 -08:00
fs_mgr_priv_avb.h Fix-up coding style 2017-02-18 12:33:36 +08:00
fs_mgr_priv_boot_config.h early_mount: fs_mgr: move all fstab logic into fs_mgr 2017-02-23 16:48:43 -08:00
fs_mgr_priv_dm_ioctl.h Fix-up coding style 2017-02-18 12:33:36 +08:00
fs_mgr_priv_sha.h Fix-up coding style 2017-02-18 12:33:36 +08:00
fs_mgr_slotselect.cpp fs_mgr: add a generic fs_mgr_get_boot_config internal API 2017-02-22 12:58:15 -08:00
fs_mgr_verity.cpp fs_mgr: allow disable dm-verity when the device is unlocked without metadata 2017-03-06 16:04:03 +08:00