1581 loosing data

From: Spiro Trikaliotis (ml-cbmhackers_at_trikaliotis.net)
Date: 2006-03-29 13:36:00

Hello,

I know the 1581 is known to loose data in some ROM versions. Anyway, I
did not find any details in how this can happen.

Today, I encountered the following problem:

1. I have a disc which contained some files:

   0 ."test            " 45 3d
   83   "f0"               prg
   83   "f1"               prg
   83   "f2"               prg
   83   "f3"               prg
   83   "f4"               prg
   83   "f5"               prg
   83   "f6"               prg
   83   "f7"               prg
   83   "f8"               prg
   83   "f9"               prg
   83   "f10"              prg
   [...]
   83   "f33"              prg
   83   "f34"              prg
   83   "f35"              prg
   83   "f36"              prg
   83   "f37"              prg
   6 blocks free.
   00, ok,00,00

   That is, it contained 38 files, each 83 blocks, that it was almost
   full; only 6 blocks were unused.

2. I copied some file on the disc; the file did not have enough room,
   thus, I got the following new contents:

   0 ."test            " 45 3d
   83   "f0"               prg
   83   "f1"               prg
   [...]
   83   "f36"              prg
   83   "f37"              prg
   0    "test"            *prg
   0 blocks free.
   00, ok,00,00

3. Now, I validated the disc to free the blocks used by the half-written
   file (the equivalent to OPEN 1,8,15,"V0")

4. After this, my directory only contained the first 8 files:
   0 ."test            " 45 3d
   83   "f0"               prg
   83   "f1"               prg
   83   "f2"               prg
   83   "f3"               prg
   83   "f4"               prg
   83   "f5"               prg
   83   "f6"               prg
   83   "f7"               prg
   2496 blocks free.
   00, ok,00,00

That is, the validate deleted the files "f8" to "f37", along with
"test".

Has anyone seen exactly this behaviour? Is the validate command in the
1581 known to delete files it should not delete? Or was the structure on
the 1581 wrong?

Any help is highly appreciated.

Regards,
   Spiro.

-- 
Spiro R. Trikaliotis
http://www.trikaliotis.net/
http://cbm4win.sf.net/

       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail pre-2.1.8.