Unmount FUSE filesystems before suspend/hibernate to prevent silent failures

This commit is contained in:
Alan Sikora
2026-03-08 20:39:33 -03:00
parent 524b4415fb
commit f92712541d
3 changed files with 21 additions and 0 deletions
+3
View File
@@ -66,6 +66,9 @@ echo "HOOKS+=(resume)" | sudo tee "$MKINITCPIO_CONF" >/dev/null
# Ensure keyboard backlight doesn't prevent sleep
sudo cp -p "$OMARCHY_PATH/default/systemd/system-sleep/keyboard-backlight" /usr/lib/systemd/system-sleep/
# Ensure FUSE mounts don't prevent sleep
sudo cp -p "$OMARCHY_PATH/default/systemd/system-sleep/unmount-fuse" /usr/lib/systemd/system-sleep/
# Add resume= kernel parameters so the initramfs resume hook knows where to find the
# hibernation image. Without these, resume happens late (after GPU drivers load) and fails.
RESUME_DROP_IN="/etc/limine-entry-tool.d/resume.conf"