home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!doc.ic.ac.uk!uknet!warwick!dcs.warwick.ac.uk!thughes
- From: thughes@dcs.warwick.ac.uk (Tom Hughes)
- Newsgroups: comp.sys.acorn
- Subject: Re: Bug alert : RO3.1 corrupts DOS files
- Message-ID: <1992Nov9.102048.24186@dcs.warwick.ac.uk>
- Date: 9 Nov 92 10:20:48 GMT
- References: <1992Nov9.002405.5422@cs.utwente.nl>
- Sender: news@dcs.warwick.ac.uk (Network News)
- Organization: Department of Computer Science, Warwick University, England
- Lines: 49
- Nntp-Posting-Host: stone
-
- In article <1992Nov9.002405.5422@cs.utwente.nl> kortink@cs.utwente.nl (John Kortink) writes:
- >Serious RISCOS 3.1 bug alert !
- >
- >This concerns copying files to DOS floppies with background operations on,
- >which can corrupt files.
-
- [...story of bug hunt deleted...]
-
- >Further experimentation with rereading on Arc before porting the floppy,
- >and doing *Dismounts at different times, reveals that both seem to cause
- >the missing small data chunk (obviously still buffered by the FS) to be
- >written to the disc, while removing the disc (waiting till light off)
- >without doing either consistently corrupts these special length files.
-
- I'm fairly sure that this is well known, as I read somewher recently
- (in Archive I think) that you should *always* dismount a DOS floppy
- before ejecting it, as not doing so means that the write behind buffer
- will not be flushed to disc, so the last sector or so written to disc
- will not actually have been written.
-
- >Fully resetting the machine before doing either also shows the corruption
- >on re-reading the files on the Arc. Definately something wrong in the
- >'clean up' or 'update file to media' department.
-
- I'm not sure if it is due to a bug in DOSFS which doesn't flush the
- buffer when it finishes an operation, or whether it was the intended
- mode of operation.
-
- >Experimentation with ADFS discs reveals that ADFS (thank God !) does *not*
- >suffer from data corruption in the same special cases. Must be DOSFS.
-
- I am pretty sure that ADFS is safe - it's only DOSFS that suffers.
-
- >Over to you, Acorn. What's your excuse ? This is bloody dangerous !
-
- Whether this is a bug or the way things were supposed to work, it is
- *very* bad. If this was in the specification, I worry about the person
- who wrote the spec... Please, please, please sort it out Acorn.
-
- Tom.
-
- ============================================================================
- Tom Hughes, CS3
-
- thughes@uk.ac.warwick.dcs 57 Shakleton Road
- csugk@uk.ac.warwick.csv Earlsdon
- Coventry
- (0203) 673584 CV5 6HT
- ============================================================================
-