add @megavolt rule

This commit is contained in:
Frede Hundewadt 2023-03-05 07:18:04 +01:00
parent 9e017c0465
commit f7df8de06e

View file

@ -41,3 +41,13 @@ Then plug an usb device - open in your file manager - copy a huge amout of files
For those preferring that I have created a PKGBUILD 2 for it which will pull the hdparm dependency upon installation.
pamac build udev-usb-sync
Another idea by [@megavolt][1] at [Manjaro Forum][2] which does not require hdparm.
> ```
> SUBSYSTEMS=="usb", SUBSYSTEM=="block", ENV{ID_FS_USAGE}=="filesystem", ENV{UDISKS_MOUNT_OPTIONS_DEFAULTS}+="sync", ENV{UDISKS_MOUNT_OPTIONS_ALLOW}+="sync"
> ```
> This udev rule is just an example. Adjuste it if needed.
[1]: https://forum.manjaro.org/u/megavolt
[2]: https://forum.manjaro.org/t/decrease-dirty-bytes-for-more-reliable-usb-transfer/120798/4