view wisdom/block device @ 8624:6922961990ce

<oerjan> mkx bin/culprits//hoag "$@" | awk \'{print substr($1,2,length($1)-2)}\' | sed "s/.$/\\x0F&/" | xargs
author HackBot
date Mon, 27 Jun 2016 23:52:47 +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.