{"id":7577,"date":"2015-07-10T00:01:17","date_gmt":"2015-07-10T07:01:17","guid":{"rendered":"http:\/\/www.wambooli.com\/blog\/?p=7577"},"modified":"2015-07-04T16:04:47","modified_gmt":"2015-07-04T23:04:47","slug":"the-cat-ate-my-hard-drive","status":"publish","type":"post","link":"https:\/\/www.wambooli.com\/blog\/?p=7577","title":{"rendered":"The Cat Ate My Hard Drive"},"content":{"rendered":"<p>Would it be possible for a cat to march across your desk, lie on the keyboard, and somehow manage to completely erase everything on your computer? Let me mull the possibilities.<br \/>\n<!--more--><br \/>\nIn the show <em>Silicon Valley<\/em>, a massive FTP (file transfer) operation is thwarted when one of the characters accidentally sets a bottle of tequila on a laptop keyboard.<\/p>\n<p>Could such a thing happen?<\/p>\n<p>Hardly.<\/p>\n<p>The characters in the show could have been using something other than vanilla FTP, so I&#8217;ll grant them that. The  way I understand FTP, however, is that only one computer is in charge of the operation. If all the systems are timesharing (somehow), then pressing the Delete key on one system&#8217;s keyboard would buffer a lot of Delete characters, but that alone wouldn&#8217;t be enough to cancel the operation, let alone switch the activity from a transfer to a massive purge.<\/p>\n<p>The text commands I&#8217;ve seen for a file purge can be rather simple. I read recently that the entire movie <em>Toy Story 2<\/em> was almost lost because a unix nerd typed <code>rm -d *<\/code> on the hard drive that contained all the movie&#8217;s animation files. That&#8217;s a pretty vicious command, and it could be typed accidentally, I suppose. Like most text mode commands, a prompt doesn&#8217;t appear explaining that you&#8217;re about to purge everything; the command just works.<\/p>\n<p>Could a tequila bottle type <code>rm -d *<\/code> [Enter]? Nope.<\/p>\n<p>So could a cat just randomly walk across a keyboard and type a command to remove a hard drive? I would postulate a &#8220;No&#8221; answer as well, but the thought has occurred to me.<\/p>\n<p>Like many cat owners, my kitties like to come up to the keyboard and demand attention. When they&#8217;re content, they plant themselves right in front of the keyboard. They&#8217;ll do this when I&#8217;m away, as well. Sometimes I come back from a break and the cat has rolled over on the keyboard. I see several pages of space characters in my Word document as evidence.<\/p>\n<p>Once I thought the cat had zapped a folder from the desktop. It turned out that he just renamed it. Somehow he managed to hit the Enter key (which is the Rename command on a Mac) and then he typed a space. The folder was there, but its name had changed.<\/p>\n<p>So could my cat delete the hard drive? Probably not. The only chance a cat would have is if you were running a disk management tool on the computer, that program happened to be open, and the command for removing a hard drive was something simple, like Space-Space-Space-Space-Space and then Enter.<\/p>\n<p>Remember: Cats don&#8217;t type well. They just lie down on the keyboard, which increases their impact, but decreases the likelihood that they&#8217;ll actually type anything &mdash; even a cryptic Unix or DOS command that could wipe out a hard drive.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Such a thing could happen, but probably won&#8217;t.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[15,17],"class_list":["post-7577","post","type-post","status-publish","format-standard","hentry","category-main","tag-pc","tag-troubleshooting"],"_links":{"self":[{"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7577","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7577"}],"version-history":[{"count":3,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7577\/revisions"}],"predecessor-version":[{"id":7584,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7577\/revisions\/7584"}],"wp:attachment":[{"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7577"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7577"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}