Tag Info

New answers tagged

0

To disable partition to be mounted at startup you need to edit /etc/fstab. To have your HDD not automounted when you boot, add one line for each partition, such as: /dev/sdb5 / auto noauto 0 0 UPDATE: sudo hdparm -y /dev/sdb -y Force an IDE drive to immediately enter the low power consumpā€ tion standby mode, usually causing it to spin ...


1

Building on what @ensc said, you could instead listen for that D-Bus (system session) signal yourself. The general workflow with the org.freedesktop.login1.Manager interface would be: inhibit system sleep (maybe also shutdown) with Inhibit(what, who, why, mode) what: sleep or shutdown:sleep who: unmount_cifs or whatever you'll call your script why: ...


2

This thread had many suggestions that look like good leads for you to follow up with. After shutting down desktops often reboots Things to try idea #1 - systemd If your system uses systemd try using this: $ systemctl poweroff idea #2 - blacklist kernel module mei_me This mei_me ( Intel Management Engine Interface) for Mobile Intel Express ...



Top 50 recent answers are included