commit | 4e605cb0c1cbb0fdfa7a3c68e28bfe00d0470e27 | [log] [tgz] |
---|---|---|
author | Yi-Yo Chiang <yochiang@google.com> | Tue Sep 12 15:53:19 2023 +0800 |
committer | Jackeagle <jackeagle102@gmail.com> | Wed Jan 17 22:54:34 2024 -0500 |
tree | aa88a699376d10a9da798af307c9976b661073de | |
parent | 523c556f19dd138a46d1a66b0e98a8bc6900f253 [diff] |
fs_mgr: Use /proc/mounts to check if /cache is mounted The fstab provided by the user/caller might not be the default fstab, which might not include the /cache mount entry. We should just use the procfs mount info to determine if /cache is currently mounted. Bug: 300036012 Test: adb_remount test Change-Id: I4643d0a21ae21f3513f715de424f0be1fe64ff9e