use conv=fsync in dd command

This commit is contained in:
Anton Livaja 2025-01-06 11:08:17 -05:00
parent 5920ce2db1
commit 996a924537
Signed by: anton
GPG Key ID: 44A86CFF1FDF0E85
1 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ make shell
* Use `lsblk` to find device name * Use `lsblk` to find device name
* `dd if=out/airgap.iso of=/dev/<your_device> bs=4M status=progress oflag=direct` * `dd if=out/airgap.iso of=/dev/<your_device> bs=4M status=progress conv=fsync`
2. Use the `sdtool` to lock the SD Card: 2. Use the `sdtool` to lock the SD Card:
@ -156,7 +156,7 @@ make shell
d. Test that the card can't be written to: d. Test that the card can't be written to:
* `dd if=out/airgap.iso of=/dev/sdb bs=1M conv=sync status=progress` * `dd if=out/airgap.iso of=/dev/sdb bs=1M status=progress conv=fsync`
3. Verify that the hash of `airgap.iso` matches what's flashed on the SD card: 3. Verify that the hash of `airgap.iso` matches what's flashed on the SD card: