2022-03-16 16:23:29 +01:00
|
|
|
#!/usr/bin/env bash
|
2022-03-16 17:28:32 +01:00
|
|
|
# Copy this file in mounts.conf.d as <something>.conf, and add your volume settings.
|
|
|
|
# You may repeat this for all your mounts
|
2022-03-16 16:23:29 +01:00
|
|
|
|
2022-03-16 17:28:32 +01:00
|
|
|
declare -A mount
|
|
|
|
mount[mapper]='' # As in /dev/mapper/<?>
|
|
|
|
mount[target]='' # Mount point (absolute path)
|
2023-07-27 16:29:06 +02:00
|
|
|
mount[type]='ext4' # Filesystem type
|
2022-03-16 17:28:32 +01:00
|
|
|
mount[friendly]='' # Optional friendly name for unit file Description
|
|
|
|
mount[autolock]=0 # Set to 1 to enable autolock
|
2023-07-27 16:21:25 +02:00
|
|
|
mount[timeout]=0 # Set to 1 to enable mount timeout (30 seconds)
|