[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TOSFS
Hi!
Ulrich Kuehn wrote:
> I have the impression, that the number of the starting cluster of a file
> or directory must be stored somewhere by GEMDOS. Maybe there is a hack
> possible to get this value out of the DTA? Can somebody at Atari confirm
> this? There might be some problems when running Metados, but it would
> be nice to have real meaningful inodes on a TOSFS....
As far as I know, the 21 reserved bytes in the DTA aren't documented
officially anywhere.
Anyway, here's what I know about it:
Byte Contents
0-11 search mask from Fsfirst() in the directory, i. e. w/o path
12 search attribute from Fsfirst()
13-16 offset in the search directory (byte position, thus always
k*32) -- really silly to put a long to an odd address...
17-20 pointer to some kind of directory descriptor in GEMDOS'
internal data
So, bytes 13-16 are unique in one directory, bytes 17-20 point to something
containing information which directory it is, bytes 17-20 are almost
certainly NOT usable to trace back which directory is accessed, if you
don't examine the structure they point to.
Daniel
--
Daniel Roedding : daniel@fiction.pb.owl.de, zlroed@pbhrzx.uni-paderborn.de
Detmolder Str. 19 :.........................................................
D-33102 Paderborn : "Wenn etwas wie Tartar aussieht, wie Tartar schmeckt und
....................: wie Tartar hergestellt wird, dann wird die Justiz das
(05251) 541965 voice: wohl auch als Tartar behandeln, auch wenn es als Bonbon
(05251) 541334 data : angepriesen wird." - Stefan Eggers in de.soc.netzwesen