🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #8735

Re: Stumpers

#8735
From: Leonard Erickson
Date: Mon, 15 Jan 1990 08:49
34 lines
2294 bytes
barton@holston.UUCP (Barton A. Fisk) writes:

>In article <3404@rti.UUCP>, bcw@rti.UUCP (Bruce Wright) writes:
>> In article <355@marvin.moncam.co.uk>, emmo@moncam.co.uk (Dave Emmerson) writes:
>> The usual way is that the computer got rebooted while there were files open.
>> Could be caused by any number of things:  power failure, hardware problems,
>> program bugs, user error (rebooting at inopportune times in the program).

>I have found that using ^C to abort a program will sometimes
>do this also. But how else to you get out of a dead-lock other
>that Ctrl-Alt-Del. Perhaps DOS  is not as well behaved as some
>would lead us to believe.

Actually, the problem isn't DOS in most cases. It is the application programs.

As an example, dBase will cheerfully allocate new clusters to a file, but
doen't update the filesize entry in the directory until you close the file.
The improves performance at the expense of safety. If anything goes wrong, 
the clusters (and the new data) are lost.

Worse, dBase does this by maintaining a copy of the directory in RAM and
updating it. As many a dBase user has learned to his sorrow, forgetting
to close a file before swapping disks will not just corrupt that one file,
but will result in a large portion of the directory of the new disk
being replaced by the directory of the old disk! Bleah!

dBase isn't the only program to be mis-optimized this way. As any of the users
I've had to to explain this to (*after* they blew away their data) would tell
you, they'd rather have it be slower, but do it *safely*.
-- 
Leonard Erickson		...!tektronix!reed!percival!bucket!leonard
CIS: [70465,203]
"I'm all in favor of keeping dangerous weapons out of the hands of fools.
Let's start with typewriters." -- Solomon Short
Technical Details
Message-ID: <1919@bucket.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!umich!samsung!think!mintaka!mit-eddie!uw-beaver!zephyr.ens.tek.com!tektronix!psueea!parsely!bucket!leonard
References: <21990002@hpvcfs1.HP.COM> <25A51804.9795@maccs.dcss.mcmaster.ca> <3404@rti.UUCP> <5660@holston.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!umich!samsung!think!mintaka!mit-eddie!uw-beaver!zephyr.ens.tek.com!tektronix!psueea!parsely!bucket!leonard
From: leonard@bucket.UUCP (Leonard Erickson)
Newsgroups: comp.sys.ibm.pc
Subject: Re: Stumpers
Message-ID: <1919@bucket.UUCP>
Date: 15 Jan 90 08:49:00 GMT
References: <21990002@hpvcfs1.HP.COM> <25A51804.9795@maccs.dcss.mcmaster.ca> <3404@rti.UUCP> <5660@holston.UUCP>
Organization: Rick's Home-Grown UNIX; Portland, OR.
Lines: 34