From 647a8cdd44625afa1e0ea779d0cdbf889ab0cafc Mon Sep 17 00:00:00 2001 From: Bill Peckham Date: Wed, 1 Apr 2020 14:29:12 -0700 Subject: [PATCH] Ignore functionfs mounts. Vendors may add additional functionfs mounts. Since these will never be remounted, we can safely filter these out. Bug: 153008210 Test: Test device with previously unfiltered entries. Change-Id: I7f384b8a0ce93dd6701fe3c4d9dd2557370b31e1 --- fs_mgr/tests/adb-remount-test.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/fs_mgr/tests/adb-remount-test.sh b/fs_mgr/tests/adb-remount-test.sh index cf324fe8f..82c42629d 100755 --- a/fs_mgr/tests/adb-remount-test.sh +++ b/fs_mgr/tests/adb-remount-test.sh @@ -732,6 +732,7 @@ skip_administrative_mounts() { grep -v \ -e "^\(overlay\|tmpfs\|none\|sysfs\|proc\|selinuxfs\|debugfs\|bpf\) " \ -e "^\(binfmt_misc\|cg2_bpf\|pstore\|tracefs\|adb\|mtp\|ptp\|devpts\) " \ + -e " functionfs " \ -e "^\(/data/media\|/dev/block/loop[0-9]*\) " \ -e "^rootfs / rootfs rw," \ -e " /\(cache\|mnt/scratch\|mnt/vendor/persist\|persist\|metadata\) "