rConfig - Config Hard Link
The Hard Link Configuration is a new feature that helps manage configuration file paths efficiently. Instead of storing duplicate files, it allows a new configuration to reference an existing one if they are identical, saving space and maintaining consistency.
How It Works
When a configuration is created or updated, this feature enables it to reuse an existing file path instead of creating a new one. This is useful when multiple configurations share the same settings, ensuring all changes are applied consistently.
Key Benefits
- ✅ Reduces duplicate files
- ✅ Ensures consistency between configurations
- ✅ Optimizes storage usage
How to Use
- Automatic Linking: If a new configuration matches an existing one, it will automatically link to the existing file.
- Identifying a Hard Link: A configuration that is a hard link will be marked as such in the system.
- Managing Links: If the linked file is removed, the system ensures that the reference is updated properly
Setting & Control
This feature is controlled by the HARD_LINK setting in your system’s configuration. If enabled, it will automatically manage file paths intelligently.
To enable or disable this feature, update your .env
file:
HARD_LINK=true
To help you easily recognize configurations that use hard links, we have added a visual indicator in the dashboard. If a configuration is a hard link, you will see a link icon (🔗) next to it.
