Mercurial > repo
view wisdom/block device @ 9601:3677ea8894d7
<shachaf> ` rm -rf canary; mk \'canary//cat: canary: No such file or directory\'
author | HackBot |
---|---|
date | Wed, 02 Nov 2016 00:10:36 +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.