Anyone have any ideas for how I can automatically do a luksSuspend on a luks volume after it's been unused for a certain amount of time. I was thinking of just scheduling a command with crontab or something, but I don't want it to suspend if I'm actually using the volume.
|
|
|||
|
|
|
The intent of There's no way to atomically enforce that the device is not in use and call To detect whether a filesystem is idle, I recommend to piggyback on an existing automounter such as autofs. |
|||
|
|
|
I've worked out a set of scripts that are working reasonably well, but still looking for other suggestions if anyone has any. What I've done is to write one script that suspends the luks volume, one that sends a |
|||
|
|