Re: xfsprogs: minimum version with these commands

Bogdan
2010-09-01T13:32:52Z

On 30.08.2010 03:52, Eric Sandeen wrote:
> Bogdan wrote:
>> Hello.
>>
>> I couldn't find this information in the xfsprogs ChangeLog, so I'm
>> asking here: what is the minimum version of xfsprogs to:
>>
>> 1) contain these utilities: xfs_db, xfs_freeze, xfs_check, and
>> 2) xfs_db accepts the following command-line parameters: -i, -c, and
>> 3) xfs_freeze accepts the following command-line parameters: -f, -u, and
>> 4) xfs_db accepts the following interactive mode commands: "freesp
>> -d", "quit", "blockget -n", "ncheck", "sb 0", "print".
>
> I am not surprised that changelogs do not mention when "quit" was
> added to xfs_db ...!

It could have been "exit" one day in the past, right?

>
>> Or is there a ChangeLog that covers all xfsprogs versions in such
>> deatil that I would be able to find this myself? If so, where can I
>> find it?
>>
>
> You could look at git and/or cvs history/blame to see when commands &
> options were added.

Is everything really there? How do I get these?

> Most of the things you ask about are SO OLD it will take some digging
> through renames and moves.

I thought so. I'm surprised such things as added commands aren't in
the ChangeLog, unless they were present from the first version.

> Do you really need to know if "xfs_check" was added in 1994, or 1995, for
> example? :)

No. I need to know what was the first version of the xfsprogs package
that contained this program. The version number, not the year.

> This strikes me as a bit of an odd question; what is your motivation here?

I'm writing a program that executes xfs_db and other processes,
passes commands to them and reads replies. Now I want to know what the
minimum required version is to be sure that these commands are
accepted. I know this might seem strange, but I'd like to know this in
more detail, so I can say "requires xfsprogs version X.Y.Z or newer"
instead of "requires xfsprogs" (which would imply that all versions
work, and this might not be the case). If it would be "1.0.0", great.
But I wanted to be sure.