mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2026-02-21 10:27:22 +08:00
Update progress.sh
This commit is contained in:
parent
9122fec688
commit
54edab0cd8
@ -23,6 +23,7 @@ fi
|
||||
|
||||
cluster=$(stat -f "$path" | grep -m 1 "^Block size:" | cut -d':' -f2 | tail -c+2 | cut -d' ' -f1)
|
||||
total=$(( ( ( total + cluster / 2 ) / cluster ) * cluster ))
|
||||
[ -z "$total" ] && total="4096"
|
||||
|
||||
while true
|
||||
do
|
||||
|
||||
Loading…
Reference in New Issue
Block a user