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

file systems



I've been gone for awhile, so if this stuff has already been talked 
about - forgive me.

Anyway, I noticed that loaded file systems return a -33 and not a -34
when a non-existing path is accessed.  I haven't seen a fix in th 1.09
diffs, but its definately a bug (its also why STZIP doesn't create folders).

Now, I looked at the MiNT code, and decided that didn't help since it
looked fine.  I looked at the ramfs code, and noticed that the "lookup"
function that "relpath2cookie" was calling didn't differenciate between
a directory or a file.  So, when the name wasn't found, it returned -33,
and I would assume that minixfs does the same thing (since it too returns
-33 instead of -34 from the relpath2cookie call).  Now, what I'd like to
know, is how the filesystem can determine if the name its looking for is
a directory or filename?  And if it can't then shouldn't the MiNT kernel
change a -33 (EFILNF) to -34 (EPTHNF) when the name being looked-up is
a directory?

Also, before my absense everyone seemed to be talking about the Fseek
differences.  All the filesystems seem to handle it differently.  The
procfs has some stuff changed I think, but in any case, ramfs code or stzip
needs to be changed (was this already done?  Which way is correct?)       

As an aside, someone mentioned a multi-screen program for MiNT.  Will this
work remotely?  And is there is a decent remote login package for MiNT?
I have one but it doesn't work right at all and I'm too lazy to fix it.

Thanks,
Evan Langlois