Mercurial > repo
view wisdom/block device @ 11932:d8d7f891e16b draft
<fizzie> mkx bin/beat//s=$(date +%s); echo @$(((s+3600) % 86400 * 10 / 864))
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Fri, 13 Sep 2019 10:09:31 +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.