Article View: borland.public.cppbuilder.nativeapi
Article #8161Re: floppy disk bad sectors
From: Andrue Cope [TeamB]
Date: Fri, 19 Nov 2004 17:10
Date: Fri, 19 Nov 2004 17:10
31 lines
2626 bytes
2626 bytes
Bob Gonder wrote: > Would CreateFile with GenericWrite fail if the cd were read-only > instead of writable? It doesn't appear to - I tested that possibility first. > What about a CD-rw formatted for "packet writing"? Almost certainly not. Packet writing usually works by extending the volume into fresh space and marking the old data as "out of date". Eventually there is no fresh space left, the CD becomes full and you can't write to it any more. There is however a form of CD "rewriteable" where you can write the way you write to a hard disk. New data is burnt over the top of old data. I'm not that familiar with the technology but I'm guessing it's magneto-optical media. This form of media should behave like a large floppy disk and testing it for bad blocks would be valid and worthwhile. Hmmm. Actually one thought springs to mind. It might be possible to fix a bad block on magneto-optical media by burning a fresh block down. It won't fix all faults but it *might* fix some. The problem with testing traditional CDROMs is that until you've burnt a block the block doesn't exist. The unused portion of the CDROM is virgin media and can be burnt anyway you want. -- Andrue Cope [TeamB] [Bicester, Uk] http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID:
<419e29e7@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<41922983$1@newsgroups.borland.com> <4192311f$1@newsgroups.borland.com> <41923ebd@newsgroups.borland.com> <41937d68@newsgroups.borland.com> <4193841f@newsgroups.borland.com> <419387ad$1@newsgroups.borland.com> <419394a0$1@newsgroups.borland.com> <41939810@newsgroups.borland.com> <4193b137$1@newsgroups.borland.com> <4193bb72$1@newsgroups.borland.com> <41947eaa$1@newsgroups.borland.com> <419e1544@newsgroups.borland.com> <419e1e2f$1@newsgroups.borland.com> <1k9sp05le4bit53eg7aohhmgsf8bbph7pk@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,2aacc4eb93e0b7a0 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Andrue Cope [TeamB]" <no.spam@not.a.valid.address> Subject: Re: floppy disk bad sectors Newsgroups: borland.public.cppbuilder.nativeapi References: <41922983$1@newsgroups.borland.com> <4192311f$1@newsgroups.borland.com> <41923ebd@newsgroups.borland.com> <41937d68@newsgroups.borland.com> <4193841f@newsgroups.borland.com> <419387ad$1@newsgroups.borland.com> <419394a0$1@newsgroups.borland.com> <41939810@newsgroups.borland.com> <4193b137$1@newsgroups.borland.com> <4193bb72$1@newsgroups.borland.com> <41947eaa$1@newsgroups.borland.com> <419e1544@newsgroups.borland.com> <419e1e2f$1@newsgroups.borland.com> <1k9sp05le4bit53eg7aohhmgsf8bbph7pk@4ax.com> Date: Fri, 19 Nov 2004 17:10:57 +0000 User-Agent: XanaNews/1.16.4.6 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 NNTP-Posting-Host: 217.207.223.34 Message-ID: <419e29e7@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1100884455 217.207.223.34 (19 Nov 2004 09:14:15 -0700) Lines: 31 X-Authenticated-User: acope Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail