Skip to content

Rule Creation Wizard

GuhDoy edited this page Apr 2, 2023 · 2 revisions

The wizard lists the issues that need to be considered when writing mount rules for most apps, which can simplify editing operations and improve rule quality. After completing the wizard, click Submit to view the generated mount rules. By observing the correspondence between the input content and the generated rules, you can learn how to write mount rules.

The app does not need to access all files in external storage

Redirect app access to shared storage to their external cache. The cache may be deleted by the Android system or by cleanup feature. If the app saves valuable data in the shared storage, the application's access to the shared storage space should be redirected to app-specific dirs to store files persistently.

The app saves valuable data in shared storage

Redirect app access to shared storage to their external app-specific dirs.

Change the file hierarchy seen by the app

Same as manually editing mount rules. It is usually used to change the place where apps saves files.

Dirs that can directly access

App access to these dirs and its subpaths will not be affected by storage redirect.

Paths that can't access

Redirect app access to this path to the relative path in their external cache. When generating rules, it will first find all accessible places. If it is found inaccessible, no rules will be generated.

Autocomplete wizard according to file system record

Group paths by MimeTypes, find media files, and redirects them to the corresponding standard dirs. The auto-filled content may not conform to your habits, and manual adjustments may need to take into account.

This feature has some limitations:

  1. Rely on file system record. No file operation record, no corresponding rule to generate.

  2. Poor support for Download apps. That's because Download apps may not only download media files, so it is difficult for us to find out all of them. In addition, users may prefer to save these files to the Download dir in place of media dirs.

  3. We assume the app does not need to access all files. So if the app is a file manager or something that needs to access all files, this feature cannot autocomplete the wizard correctly.