#: 5479 S9/Utilities
23-Jul-90 08:41:56
Sb: #5466-#Reading OS9 Directorys
Fm: Pete Lyall 76703,4230
To: George Hendrickson 71071,2003 (X)
Right - the FD sector has all the info ABOUT the file (owner, size, dates,
attributes).
Best approach has been found to open two paths. One to the directory you're
reading, and one to the whole RAW disk (i.e. /DD@). This way, when you read the
LSN # from the directory, you can seek to the LSN * 256 on the RAW disk path
and get right to the file's info. This is much faster than opening each file
and doing an SS.FD getstat on it.
Pete]
There is 1 Reply.
|