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

@@ -729,4 +729,26 @@
<string name="incompatible_kernel_msg">
当前管理器与此内核不兼容!请将内核升级至版本 %2$d 或以上(当前 %1$d
</string>
<string name="umount_path_manager">Umount 路径管理</string>
<string name="umount_path_manager_summary">管理内核卸载路径</string>
<string name="umount_path_restart_notice">添加或删除路径后需要重启设备才能生效。系统会在下次启动时应用新的配置。</string>
<string name="add_umount_path">添加 Umount 路径</string>
<string name="mount_path">挂载路径</string>
<string name="check_mount_type">检查挂载类型</string>
<string name="check_mount_type_overlay">检查是否为 overlay 类型</string>
<string name="umount_flags">卸载标志</string>
<string name="umount_flags_hint">0=正常卸载, 8=MNT_DETACH, -1=自动</string>
<string name="flags">标志</string>
<string name="default_entry">默认条目</string>
<string name="confirm_delete">确认删除</string>
<string name="confirm_delete_umount_path">确定要删除路径 %s 吗?</string>
<string name="umount_path_added">路径已添加,重启后生效</string>
<string name="umount_path_removed">路径已删除,重启后生效</string>
<string name="operation_failed">操作失败</string>
<string name="confirm_action">确认操作</string>
<string name="confirm_clear_custom_paths">确定要清除所有自定义路径吗?(默认路径将保留)</string>
<string name="custom_paths_cleared">自定义路径已清除</string>
<string name="clear_custom_paths">清除自定义</string>
<string name="apply_config">应用配置</string>
<string name="config_applied">配置已应用到内核</string>
</resources>

View File

@@ -737,4 +737,27 @@ Important Note:\n
<string name="incompatible_kernel_msg">
The current manager is incompatible with this kernel! Please upgrade the kernel to version %2$d or higher (currently %1$d)
</string>
<string name="umount_path_manager">Umount Path Management</string>
<string name="umount_path_manager_summary">Manage kernel unmount paths</string>
<string name="umount_path_restart_notice">A reboot is required for changes to take effect. The system will apply the new configuration on the next boot.</string>
<string name="add_umount_path">Add Umount Path</string>
<string name="mount_path">Mount Path</string>
<string name="check_mount_type">Check Mount Type</string>
<string name="check_mount_type_overlay">Check if it is an overlay type</string>
<string name="umount_flags">Unmount Flags</string>
<string name="umount_flags_hint">0=Normal unmount, 8=MNT_DETACH, -1=Auto</string>
<string name="flags">Flags</string>
<string name="default_entry">Default Entry</string>
<string name="confirm_delete">Confirm Delete</string>
<string name="confirm_delete_umount_path">Are you sure you want to delete the path %s?</string>
<string name="umount_path_added">Path added, will take effect after reboot</string>
<string name="umount_path_removed">Path removed, will take effect after reboot</string>
<string name="operation_failed">Operation failed</string>
<string name="confirm_action">Confirm Action</string>
<string name="confirm_clear_custom_paths">Are you sure you want to clear all custom paths? (Default paths will be preserved)</string>
<string name="custom_paths_cleared">Custom paths cleared</string>
<string name="clear_custom_paths">Clear Custom Paths</string>
<string name="apply_config">Apply Configuration</string>
<string name="config_applied">Configuration applied to kernel</string>
<string name="mnt_detach">MNT_DETACH</string>
</resources>