Mailing List Archive

How to show the version of syslinux?
syslinux usage does not include "--version"
----------------
./syslinux --version
Usage: ./syslinux [-sfr][-d directory][-o offset] device
---------------

As I know, other utilities support "--version", eg.,
---------------
linux:/tmp/syslinux-3.51/unix # wget --version
GNU Wget 1.9.1

Copyright (C) 2003 Free Software Foundation, Inc.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

Originally written by Hrvoje Niksic <hniksic@xemacs.org>.
----------------

_______________________________________________
SYSLINUX mailing list
Submissions to SYSLINUX@zytor.com
Unsubscribe or set options at:
http://www.zytor.com/mailman/listinfo/syslinux
Please do not send private replies to mailing list traffic.
Re: How to show the version of syslinux? [ In reply to ]
Bo Xie wrote:
> syslinux usage does not include "--version"
> ----------------
> ./syslinux --version
> Usage: ./syslinux [-sfr][-d directory][-o offset] device
> ---------------
>

That's right, it doesn't.

You can get it with strings though.

-hpa

_______________________________________________
SYSLINUX mailing list
Submissions to SYSLINUX@zytor.com
Unsubscribe or set options at:
http://www.zytor.com/mailman/listinfo/syslinux
Please do not send private replies to mailing list traffic.
Re: How to show the version of syslinux? [ In reply to ]
> You can get it with strings though.

You mean the following approach?
# strings /usr/bin/syslinux | grep SYSLINUX
SYSLINUX
SYSLINUX 3.11 0x4639e756
SYSLINUXCFGsyslinux.cfg

Then we know it is 3.11 ?

_______________________________________________
SYSLINUX mailing list
Submissions to SYSLINUX@zytor.com
Unsubscribe or set options at:
http://www.zytor.com/mailman/listinfo/syslinux
Please do not send private replies to mailing list traffic.
Re: How to show the version of syslinux? [ In reply to ]
Bo Xie wrote:
>> You can get it with strings though.
>
> You mean the following approach?
> # strings /usr/bin/syslinux | grep SYSLINUX
> SYSLINUX
> SYSLINUX 3.11 0x4639e756
> SYSLINUXCFGsyslinux.cfg
>
> Then we know it is 3.11 ?
>

Yes, it's an unofficial build of 3.11.

-hpa

_______________________________________________
SYSLINUX mailing list
Submissions to SYSLINUX@zytor.com
Unsubscribe or set options at:
http://www.zytor.com/mailman/listinfo/syslinux
Please do not send private replies to mailing list traffic.