Mercurial > repo
view wisdom/block device @ 10147:a645170ded84
<oerjan> learn `5 <cmd> is equivalent to repeating `` <cmd> 5 times, then splitting the output into irc-sized pieces. <cmd> defaults to "quote". See `1. Confusingly _not_ the obvious generalization of `2.
author | HackBot |
---|---|
date | Thu, 19 Jan 2017 02:53:48 +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.