xfs
[Top] [All Lists]

Re: xfsprogs: minimum version with these commands

To: Bogdan <bogdandr@xxxxx>
Subject: Re: xfsprogs: minimum version with these commands
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Mon, 30 Aug 2010 11:44:17 -0500
Cc: xfs@xxxxxxxxxxx
In-reply-to: <4C7BDDB1.6030209@xxxxx>
References: <4C7A2654.3080106@xxxxx> <4C7B0EF6.5030505@xxxxxxxxxxx> <4C7BDDB1.6030209@xxxxx>
User-agent: Thunderbird 2.0.0.24 (Macintosh/20100228)
Bogdan wrote:
> 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?

It could have been, but if it was "quit" from day one, that's never
going to make it to a changelog.  :)

>>>  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?

http://oss.sgi.com/cgi-bin/gitweb.cgi?p=xfs/cmds/xfsprogs.git
http://oss.sgi.com/cgi-bin/gitweb.cgi?p=xfs/cmds/xfsdump.git

http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-cmds/

Most everything should be there.


>> 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.

well, equivalently, do you care if it was version 1.0.0 or 1.0.1, from the
1990's era.

For everything you asked about, I think they've all been there since
inception.

I think picking a version from maybe 5 years ago and checking that the
commands are all there would suffice; it would be -very- unlikely that
anything older is still in use.

>> 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.

Ok, understood.

I think the fastest route, since nothing you asked for is particularly
"new" would be to just grab a sufficiently old version and double check
that the commands are there.  Easier than chasing through the repository,
I think.

-Eric

<Prev in Thread] Current Thread [Next in Thread>