view wisdom/block device @ 9266:7ae374d8d999

<shachaf> mkx bin/randbin//grep \'\' bin/"$(ls -1 bin | shuf -n 1)"
author HackBot
date Thu, 13 Oct 2016 22:40:40 +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.