summarylogtreecommitdiffstats
path: root/99-usb-exfat.rules
blob: f8e9b3c50e310386b9728cc9887eda2f7c5614e4 (plain)
1
2
3
# Set usb drives with exfat to ~40MiB max_bytes so that they start syncing earlier
SUBSYSTEM=="block", ENV{ID_BUS}=="usb", ENV{ID_FS_TYPE}=="exfat", ENV{DEVTYPE}=="partition", ACTION=="add", \
    RUN+="/bin/sh -c 'echo 41943040 > /sys/class/bdi/%E{ID_PART_ENTRY_DISK}/max_bytes'"