Browse Source

Merge branch 'master' of git.caseydelorme.com:cdelorme/arch-desktop

Casey DeLorme 3 years ago
parent
commit
65b8df19ac
1 changed files with 2 additions and 2 deletions
  1. 2 2
      install/usr/local/bin/disk-maintenance

+ 2 - 2
install/usr/local/bin/disk-maintenance

@@ -33,8 +33,8 @@ for filesystem in $(mount -t ext4 | awk '{print $3}'); do
 	cleanup_ext4 "$filesystem" &
 	cleanup_ext4 "$filesystem" &
 done
 done
 
 
-# defragment and rebalance btrfs weekly
-for filesystem in $(mount -t btrfs | awk '{print $3}'); do
+# defragment and rebalance ssd-only (hdd are too slow) btrfs weekly
+for filesystem in $(mount -t btrfs | grep "ssd" | awk '{print $3}'); do
 	cleanup_btrfs "$filesystem" &
 	cleanup_btrfs "$filesystem" &
 done
 done