Skip to content

Commit 407ff4f

Browse files
committed
Mount persist fixed options
1 parent b49486e commit 407ff4f

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

scripts/generate-mount-persistence.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -218,12 +218,11 @@ while IFS="$(printf '\t')" read -r SRC TGT FST; do
218218
# Detect if options are equivalent to defaults
219219
# defaults generally == rw,suid,dev,exec,auto,nouser,async (varies per FS)
220220
# We'll use a conservative match: rw,relatime + no special flags
221-
echo "DEBUG $OPTIONS"
222-
case "$OPTIONS" in
223-
rw|rw,relatime) OPTIONS="defaults" ;;
224-
esac
225221
fi
226-
222+
case "$OPTIONS" in
223+
rw|rw,relatime) OPTIONS="defaults" ;;
224+
on) OPTIONS="defaults" ;;
225+
esac
227226
case "$FST" in
228227
xfs)
229228
DUMP_PASS="0 0"

0 commit comments

Comments
 (0)