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

Re: [MiNT] ftruncate



Hi Frank!

Frank Naumann wrote:
Hello!

This is IMHO mandatory for all filesystem drivers.

In your humble opinion?

What do you want from me? I don't wanted to criticize you. This is my own experience on developing xfs drivers.

Hey, no offense. I was just a bit surprised that you don't know that exactly. This was the reason of that question that seemed offensive.

Without FTRUNCATE you miss some unix compatibility that is required by some tools. For such interfaces that grow over time you always have the problem that not all things are 100% exactly documented. Especially for interfaces that are used by only 2-3 people.

Yes, sure. But I thought you know it precisely. It is an English problem.

Hmm. I didn't succeed to find any statements about which Fscntl and Dcntl opcodes are optional and which is required. Do we have any documentation on this?

Not really. It's a documentation that is not really useful for almost all people that use FreeMiNT. I can write one specially for you if you like (this docu will then state that FTRUNCATE is mandatory). You can also ask me (that is much better as it don't cost so much time as writing docu).

Well, now I don't need to get that as I got that info already. ;)
But perhaps a list of mandatory things would be good to have for all the filesystem implementors.

Please anybody, read my mails in positive way. I don't try to make any offense to anyone. Try to analyze my poor English so that you find valid questions that does not insult anyone. Don't get me wrong.

BTW: Yes, Frank I owe the Fchmod16() documentation to the FreeMiNT comunity. Could you tell me which file am I supposed to write it to?

best regards

STan