[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: floppy disk change (was Re: 1.15 kernel)



At 1:21 Uhr +0200 20.05.1998, Konrad Kokoszkiewicz wrote:

>To not screw up the filesystem on a changed diskette when you copy
>something to it while the system doesn't even know you changed it. Which
>occurs actually quite often (or: would if you weren't aware that disk
>change detection is broken in most ataris).

Save one wire, we can always do it in software!

>> TOS uses a checksum for sector 0-6 (IIRC) to decide if the disk was really
>> changed or not. Sector 0 alone is not a sure indication, as it may be
>> identical on different disks.
>
>Yes, I know the theory about TOS behaviour (I read the doc for FLOPFIX).
>The problem is that it DOES NOT WORK. And it is quite unlikely for the
>sector zero to be identical on two diskettes (each has 32 bit random
>serial number generated while formatting).

Many early formatters used *the same* serial number for every disc. And I'm
sure I still have some old discs with identical numbers.

Axel,
who prefers UNIX disc drives without eject bottons and hates the HP9133
which has an eject botton.

Axel Kielhorn
Smoking endangers your health
But it secures my job.
It's your choice!