home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cbmvax!daveh
- From: daveh@cbmvax.commodore.com (Dave Haynie)
- Newsgroups: comp.sys.amiga.misc
- Subject: Re: Disk validating in 2.0 ??
- Message-ID: <38031@cbmvax.commodore.com>
- Date: 18 Dec 92 07:12:35 GMT
- References: <1992Nov28.201258.5485@netcom.com> <jam.3633@jammys.ocunix.on.ca> <1992Dec2.042038.19111@netcom.com> <1992Dec6.085443.4269@ra.msstate.edu> <1992Dec6.204823.16044@netcom.com> <92342.190739BGT101@psuvm.psu.edu>
- Reply-To: daveh@cbmvax.commodore.com (Dave Haynie)
- Organization: Commodore, West Chester, PA
- Lines: 49
-
- In article <92342.190739BGT101@psuvm.psu.edu> BGT101@psuvm.psu.edu (Blaise Tarr) writes:
- >It seems to me that Amiga DOS has a very flaky file system. It doesn't store
- >the file pointers in a FAT the way MS-DOS does, and that is one of the reasons
- >why you simply can't undelete a file like on MS-DOS, and why validating a
- >corrupted disk can be such a pain in the donkey.
-
- Hmm... At first you seem to imply that the Amiga filesystems are flakey because
- they don't do things the old MS-DOS way, then go on to point out some of the
- reasons you wouldn't want to do things the MS-DOS way.
-
- >What we need is not a better disk fixer, but a better file system from
- >Commodore.
-
- Actually, the Amiga filesystems are very good. It's impossible to lose very
- much data with a typical disk crash, because the Amiga filesystems don't store
- file information all together, like the MS-DOS FAT does. If you blow away
- the FAT on an MS-DOS disk, you're in trouble. If blow away the FFS bitmaps
- and every single directory, all you lose are the directory names -- the
- structure and filenames remain intact. Under OFS, you could even blow away the
- file headers and still not lose any file contents (OFS is more crash resistant
- than FFS, since it contains quite a bit of file management redundancy, but it's
- inherently slower).
-
- >I've heard that WB 3.0 has a new file system that is safer and faster than
- >the current fs,
-
- OS 3.0 introduces the concept of a "directory caching" filesystem. This gives
- you a directory listing speed improvement and file creating slowdown. It also
- adds some redunancy that disk recovery programs can take advantage of. Nothing
- else in the disk structure is more or less safe than the 2.0 FFS, though I don't
- know if there are any enhancements in the filesystem server itself toward this
- end.
-
- Since 2.0 FFS have been very crash resistant. You have to realize that the
- chance of trashing a disk on an unprotected multitasking system is greater than
- on an unprotected singletasking system, simply because you may (always do in the
- Amiga case) have programs running at the same time you're doing disk I/O. In
- MS-DOS, a write to disk is basically a function call that returns when the write
- is complete. Under AmigaDOS, a write to disk is a message sent to the
- FileSystem server. The sending task may wait for the result or continue on.
- Even if it waits, any ready task will be run instead. If that newly scheduled
- task is buggy, it can on rare occasions cause a disk crash.
-
- --
- Dave Haynie / Commodore Technology, High-End Amiga Systems Design (cool stuff)
- "The Crew That Never Rests" {uunet|pyramid|rutgers}!cbmvax!daveh BIX: hazy
- SCIENCE: "I'll believe it when I see it"
- RELIGION: "I'll see it when I believe it"
-
-