blog: mobile-nixos-pinephone: fix extraneous dollar-sign in codeblock

This commit is contained in:
colin 2022-10-01 23:08:13 -07:00
parent 169389362b
commit 67b6b6c4be
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ the resulting image is effectively the same as what Hydra spits out in the autom
you might be tempted to flash this to the eMMC instead of an SD card, thinking that the former will be more reliable storage. it's not: my eMMC began to fail within 20 write cycles. i highly recommend you use an SD card for this.
```sh
sudo dd if=$(readlink ./result)$ of=/dev/sdb bs=4M oflag=direct conv=sync status=progress
sudo dd if=$(readlink ./result) of=/dev/sdb bs=4M oflag=direct conv=sync status=progress
```
`oflag=direct` makes the progress bar actually usable -- otherwise it'll just show how much data has been passed to the kernel -- and `conv=sync` seems to deal better with low quality SD cards (it feels like paranoia, but if i `fsck -f` the result it sometimes shows corruption without this flag).