ELVIS WARNING - LOST CLUSTERS ON PC's

Trashy bbs at HANKEL.RUTGERS.EDU
Tue Sep 4 07:54:37 AEST 1990


In article <1790 at tuvie>
	hp at vmars.tuwien.ac.at (Peter Holzer) writes:
]strobl at gmdzi.UUCP (Wolfgang Strobl) writes:
]>A really perfect argument. MSDOS filesystem semantics are different from
]>Unix filesystem semantics. This shows how poor DOS is. Oh well...
]
]If the filesystem semantics of MSDOS mean that you can remove (or rename)
]an open file and thereby corrupt your filesystem, that DOES show how poor
]DOS is, IMHO.
]
]If DOS is not able to defer the removal of an open file until the file is
]closed, it should not remove the file and return an error. Lost clusters 
]are not dangerous, but having your disk slowly filled with them is at least
]inconvenient.

This brings up a general point about the design of system services and
library software:  make them _robust_!  If you are writing a subroutine
for some particular application, you can afford to leave it with some
holes that you know the rest of the program is going to work around,
but as soon as your routine is meant for general application, then any
hole represents the potential for a plethora of bugged programs.

Why leave that potential in there?

MSDOS blows it big with the `rename' service call.  If _I_ had written
that I'd be embarrassed.



-- 
Barry Schwartz            bbs at hankel.rutgers.edu
mnetor!dciem!nrcaer!alzabo!trashman at uunet.uu.net



More information about the Alt.sources mailing list