mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-25 11:44:44 +00:00
Add weekly cron job to TRIM drive
See #536 This is the recommended frequency. For desktop this might be less suitable, so we may want to adjust Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
82a4e55324
commit
635d99d243
4
alpine/etc/periodic/weekly/trim
Executable file
4
alpine/etc/periodic/weekly/trim
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
# TODO check with hdparm if supports TRIM
|
||||
/sbin/fstrim /var || true
|
Loading…
Reference in New Issue
Block a user