Bob Mottram 7 anni fa
parent
commit
b5a32cf391
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2
    0
      src/freedombone-utils-filesystem

+ 2
- 0
src/freedombone-utils-filesystem Vedi File

91
     fs_type=$(stat -f /)
91
     fs_type=$(stat -f /)
92
 
92
 
93
     if [[ "$fs_type" == *"btrfs"* ]]; then
93
     if [[ "$fs_type" == *"btrfs"* ]]; then
94
+        echo $'Defragmenting root directory'
94
         btrfs filesystem defragment -r /
95
         btrfs filesystem defragment -r /
96
+        echo $'Defragmentation completed'
95
     fi
97
     fi
96
 }
98
 }
97
 
99