Skip to content

rConfig - Config Hard Link

1 mins V7 Pro

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

  1. ✅ Reduces duplicate files
  2. ✅ Ensures consistency between configurations
  3. ✅ Optimizes storage usage

How to Use

  1. Automatic Linking: If a new configuration matches an existing one, it will automatically link to the existing file.
  2. Identifying a Hard Link: A configuration that is a hard link will be marked as such in the system.
  3. 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:

Terminal window
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.