Post #3386874
2026-06-24 04:42 UTC
You sure it wasn’t cat?
I know you can use a root shell with cat image.ISO > /dev/[…] for disk images/ISO in disk image Format (so most ISO that aren’t Windows) but using the cp command would be news for me.
Replies (3)
-
@molten_boron@sh.itjust.works 2026-06-24 06:08
cp does indeed work too!
-
@christian@lemmy.ml 2026-06-24 06:40
I am 100% certain, I’ve done this many times over the past few years.
-
@MonkderVierte@lemmy.zip 2026-06-24 09:36
Hmm, cp has smart block size handling & co (unlike dd) but cat is just a stream and pipe and redirect also buffer. Advantage of cp is, you can just sudo it. If you’re in a root shell anyway, i’d prefer pv for progress bar.