On Thu 10 Aug 2017 at 07:04:09 (-0400), Dan Ritter wrote: > On Wed, Aug 09, 2017 at 09:46:09PM -0400, David Niklas wrote: > > On Sat, 29 Jul 2017 04:59:40 +0000 > > Andy Smith <a...@strugglers.net> wrote: > > > > Also, my use case is at home where the power can and *does* fail. I also > > find myself using the latest kernel and oftentimes an experimental driver > > for my AMD graphics card, hence my need for a *very* stable fs over > > sudden unmount. > > Buy a cheap UPS with a USB or serial connection to your > computer. Even if it only supplies power for 2 minutes, that's > enough time for the computer to receive the power outage signal > and do an orderly shutdown.
Two minutes barely covers the timeouts that can often occur when shutting down systemd; the commonest timeout period here seems to be 90 seconds. I wouldn't mind reducing them if that's possible. Processes got just a few seconds with sysvinit before they were killed. > Useful packages: > > apcupsd > nut > > Cyberpower's UPS systems have Linux support but not Debian > packages; it takes about 10 minutes to download their scripts > and figure out configuration. Cheers, David.