dd: fix incorrect math (#12983)

pull/28/head
CleanMachine1 2024-06-16 21:12:53 +01:00 committed by GitHub
parent 26c24b74d7
commit 4e62f7f221
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@
- ارزیابی عملکرد نوشتن روی یک دیسک:
`dd bs={{1M}} count={{1000000}} if=/dev/zero of={{path/to/file_1GB}}`
`dd bs={{1M}} count={{1024}} if=/dev/zero of={{path/to/file_1GB}}`
- ساخت یک پشتیبان از سامانه و ذخیرهٔ آن در یک فایل IMG (می‌توان بعداً با تغییر `if` به `of` آن را بازسازی کرد):

View File

@ -17,7 +17,7 @@
- 디스크의 쓰기 성능 벤치마크:
`dd bs={{1M}} count={{1000000}} if=/dev/zero of={{경로/대상/1GB_파일}}`
`dd bs={{1M}} count={{1024}} if=/dev/zero of={{경로/대상/1GB_파일}}`
- IMG 파일로 시스템 백업을 생성하고 진행 상황 표시:

View File

@ -17,7 +17,7 @@
- Benchmark de sequentiële schrijfsnelheid van een schijf:
`dd bs={{1M}} count={{1000000}} if=/dev/zero of={{pad/naar/bestand_1GB}}`
`dd bs={{1M}} count={{1024}} if=/dev/zero of={{pad/naar/bestand_1GB}}`
- Maak een systeemback-up, sla deze op in een IMG bestand (kan later worden hersteld door `if` en `of` om te wisselen) en toon de voortgang:

View File

@ -17,7 +17,7 @@
- Benchmark the write performance of a disk:
`dd bs={{1M}} count={{1000000}} if=/dev/zero of={{path/to/file_1GB}}`
`dd bs={{1M}} count={{1024}} if=/dev/zero of={{path/to/file_1GB}}`
- Create a system backup, save it into an IMG file (can be restored later by swapping `if` and `of`), and show the progress: