Simplest way I can think of would be to close all files that are open on the partition, terminate all processes with a cwd on that partition then unmount it.
IIRC systemd has support for unmounting idle drives but I have no idea if that also powers them down/sleeps them. Systemd also has support for mounting partitions on access
IIRC systemd has support for unmounting idle drives but I have no idea if that also powers them down/sleeps them. Systemd also has support for mounting partitions on access
Statistics: Posted by thagrol — Wed May 08, 2024 10:33 pm