#: 9528 S10/OS9/6809 (CoCo)
16-Feb-91 08:11:13
Sb: #9524-dir file help
Fm: Pete Lyall 76703,4230
To: Everett Chimbidis 76370,1366
Everett..
Sounds like you're due for some reading. You need to study the disk structure
of OS9 - I recommend sitting down with the tech manual and scouring the section
on file system and disk layout.
The directory entry for each file contains only two things...
a) Name (up to 29 characters, last character has high bit on)
b) A 3 byte LSN# that tells where the file's FD sector on the disk is
The FD sector tells all the characteristics of the file (i.e. owner,
attributes, dates of creation and modification, size, links, and physical
sector mapping on the disk). If your dates are getting munged then a) They
really ARE munged in the FD sectors or b) Your program isn't manipulating the
infor in the FD sectors properly.
Pete
|