🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.folklore.computers
Article #702

close shaves

#702
From: k... Ken Yap
Date: Fri, 05 Jan 1990 03:47
32 lines
1641 bytes
This should be filed under "if you keep your cool you might get out of
shit" stories. Sorry it's Unix specific.

In the early days of Unix in Australia tape drives were scarce and
backups were often done by copying the whole filesystem to a
dismountable pack. Ian Johnstone started to backup a fixed disk with
two filesystems A and B onto pack C and typed

	dd if=A of=C

then mounted a new pack and typed

	dd if=C of=A

Milliseconds after his finger leaves the return key he realizes the
mistake, yells "Oh F***" and hits the DEL key. One scrambled
filesystem. Arrgh!

Fortunately, dd prints out the number of complete and partial blocks
copied when interrupted. So very gingerly, he remounted the first pack
and typed

	dd if=C of=A count=N

Do a ncheck, icheck, etc. (this is before fsck, kids). Breath a deep
sigh of relief.

Years later I had cause to remember that maxim when I typed "tar c"
instead of "tar x". But that story is nowhere as interesting.

I think I'll repost Mario Wolczko's rm -r story next. That one's a
classic.
Technical Details
Message-ID: <1990Jan5.034722.13185@cs.rochester.edu>
Path: mbox-mo1.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!apple!usc!zaphod.mps.ohio-state.edu!uwm.edu!rutgers!rochester!ken

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!apple!usc!zaphod.mps.ohio-state.edu!uwm.edu!rutgers!rochester!ken
From: k...@cs.rochester.edu (Ken Yap)
Newsgroups: alt.folklore.computers
Subject: close shaves
Message-ID: <1990Jan5.034722.13185@cs.rochester.edu>
Date: 5 Jan 90 03:47:22 GMT
Reply-To: k...@cs.rochester.edu
Organization: University of Rochester Computer Science Department
Lines: 32
Posted: Fri Jan  5 04:47:22 1990
Address: Rochester, NY 14627, (716) 275-1448
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit