mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-12-02 12:18:41 -05:00
13 lines
188 B
Plaintext
13 lines
188 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
# Repeate with btrfs-balance if using RAID
|
||
|
|
||
|
btrfs scrub start /
|
||
|
|
||
|
# Scrub 1 disk at a time
|
||
|
while btrfs scrub status / | grep running; do
|
||
|
sleep 20
|
||
|
done
|
||
|
|
||
|
btrfs scrub start /media
|