On 02/15/2014 12:07 PM, Fred Cisin wrote:
On Sat, 15 Feb 2014, Jules Richardson wrote:
Somehow (I blame ~20 years of brain rot) I'd
completely forgotten that DOS
maintains a "last access" timestamp for files, and so every time I copied
data from the HD drive it would update the FAT on the floppy, which was
then causing a variety of errors when subsequently trying to delete the
file via the DD drive. Urgh. :/
Anyway, problem solved (I *really* need to find another DD drive; my only
other one that I have here seems to have some major alignment problems)
WRITE-protect should be enough to prevent that.
Also, earlier versions of DOS keep a file modifictation time, NOT a file
access time. Can you back off the DOS version of the machine with the HD
drive?
Well, this is via Linux's 'msdos' driver, so simply telling mount to mount
the filesystem read-only fixes it (I just wasn't doing that previously
because I wasn't anticipating a write to occur when I was simply reading
data from the disk).
For curiosity's sake I've just looked at the documentation though and there
doesn't seem to be anything to override what version the driver pretends to
be, so I assume it's automagically trying to behave sensibly according to
whatever it finds in the FAT/dir structures.
cheers
Jules