diff options
Diffstat (limited to 'config.d/controller/modules/files/system_configs/csystem_links')
-rw-r--r-- | config.d/controller/modules/files/system_configs/csystem_links | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/config.d/controller/modules/files/system_configs/csystem_links b/config.d/controller/modules/files/system_configs/csystem_links new file mode 100644 index 0000000..d110980 --- /dev/null +++ b/config.d/controller/modules/files/system_configs/csystem_links @@ -0,0 +1,28 @@ +# Symlinks, bind-mounts, overlas and tmpfs +# Please follow the examples to configure any symlinks you wish to create automatically +# +# Symlink options: symlink {f=y/n} {path} {source} {target} +# Example 1: symlink f=n /etc/conf.d/net /user-data/local/net +# This will be translated as: ln -s /etc/conf.d/net /user-data/local/net +# +# On the other hand, this: symlink f=y /user-data/custom-location /etc/conf.d/net /user-data/custom-location/net +# is translated as: mkdir -p /user-data/custom-location && ln -s /etc/conf.d/net /user-data/custom-location/net +# +# Bind mount options: bindmount {f=y/n} {path} {source} {target} +# Example 2: bindmount f=y /user-data/local/home/user /home/user/data /user-data/local/home/user/data +# Same as: mkdir -p /user-data/local/home/user && /home/user/data /user-data/local/home/user/data none rw,bind 0 0 +# +# Overlay options: overlay {lowerdir} {uperdir} {workdir} +# Example 3: overlay /etc/conf.d /user-data/persistent/conf.d /user-data/persistent/conf.d.work +# Same as: overlay /merged overlay noauto,lowerdir=/etc/conf.d,uperdir=/user-data/persistent/conf.d,workdir=/user-data/persistent/conf.d.work 0 0 +# +# Tmpfs options: tmpfs {source} opt +# Example 4: tmpfs /var/logs nodev,nosuid,noexec,nodiratime,size=64M +# Same as tmpfs /var/logs tmpfs nodev,nosuid,noexec,nodiratime,size=64M 0 0 +# +# + + + + +# EOF
\ No newline at end of file |