view wisdom/block device @ 9265:d32852713e15

<shachaf> mkx bin/randbin//grep \'\' "$(ls -1 bin | shuf -n 1)"
author HackBot
date Thu, 13 Oct 2016 22:40:23 +0000
parents 272663b31668
children
line wrap: on
line source

Block devices are a concession made in Unix to make raw hard disks and magnetic tape have a similar interface to regular files and terminals. Since magnetic tapes can't write individual bytes, only entire blocks, the interface isn't exactly the same, thus the dreaded dd obs= option was born.