manager: Implement editable and removable mount points for LKM

This commit is contained in:
ShirkNeko
2025-11-07 15:37:04 +08:00
parent 9ebddde0d5
commit 53d763cdf9
7 changed files with 564 additions and 4 deletions

View File

@@ -170,7 +170,13 @@ impl UmountManager {
UmountEntry {
path: "/data/adb/modules".to_string(),
check_mnt: false,
flags: -1,
flags: -1, // MNT_DETACH
is_default: true,
},
UmountEntry {
path: "/debug_ramdisk".to_string(),
check_mnt: false,
flags: -1, // MNT_DETACH
is_default: true,
},
]