feat: workaround for trimming physical root block device (#2734)
* feat: workaround for trimming physical root block device https://github.com/fedora-silverblue/issue-tracker/issues/689 * add ExecStart because this is a oneshot, this would execute the old upstream fstrim command first and the patched one from us after that. Co-authored-by: Aman Verma <code@averms.org> --------- Co-authored-by: Aman Verma <code@averms.org>
This commit is contained in:
parent
d85c9c22e7
commit
cfc48059ae
1 changed files with 7 additions and 0 deletions
|
|
@ -0,0 +1,7 @@
|
|||
[Unit]
|
||||
Description=Discard unused blocks on mounted filesystems
|
||||
Documentation=man:fstrim(8) https://forge.fedoraproject.org/atomic/tracker/issues/81
|
||||
|
||||
[Service]
|
||||
ExecStart=
|
||||
ExecStart=/usr/bin/fstrim --listed-in /proc/self/mountinfo --verbose --quiet-unsupported
|
||||
Loading…
Reference in a new issue