Skip to content

Commit

Permalink
Use short style option for overlay
Browse files Browse the repository at this point in the history
The long style option '--ignore-mounted' appears to be broken on some
systems currently, but the short style appears to be working. For now we
will use the short option, but may revert back once the issue is
resolved upstream.

Signed-off-by: Ethan Dye <[email protected]>
  • Loading branch information
ecdye committed Aug 23, 2024
1 parent 81acd3a commit 61a6410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zram-config
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ createZdir() {
mergeOverlay() {
echo "mergeOverlay: Beginning merge of ${ZDIR}${BIND_DIR}." >> "$ZLOG"
ls -la "$ZDIR" "${ZDIR}${BIND_DIR}" "${ZDIR}${ZRAM_DEV}/upper" >> "$ZLOG"
overlay merge --ignore-mounted --lowerdir="${ZDIR}${BIND_DIR}" --upperdir="${ZDIR}${ZRAM_DEV}/upper" &>> "$ZLOG" || return 1
overlay merge -i --lowerdir="${ZDIR}${BIND_DIR}" --upperdir="${ZDIR}${ZRAM_DEV}/upper" &>> "$ZLOG" || return 1
bash -x -- *.sh &>> "$ZLOG"
rm -fv -- *.sh &>> "$ZLOG" || return 1
echo "mergeOverlay: Merge of ${ZDIR}${BIND_DIR} complete." >> "$ZLOG"
Expand Down

0 comments on commit 61a6410

Please sign in to comment.